my Xcode is Version 4.4.1
The project worked perfect before updating to this newer version, but now it stopped working
You can manually add the Excluded Architecture in your Pod project's Build Settings, but it will be overwritten when you use pod install . In place of this, you can add this snippet in your Podfile . It will write the necessary Build Settings every time you run pod install .
The "build active architecture only" setting causes everything except the current Mac's architecture to be ignored (and the current one is of course valid), hiding the problem. Instead, you should look up a row or two in the settings, and change the "Architectures" setting to "Standard".
Xcode's default architecture build settings provide the recommended combinations of CPU architectures to ship your app to all supported devices on each of Apple's platforms. For an overview of each of these build settings, see the Build settings reference.
VALID_ARCHS (Valid Architectures) Space-separated list of identifiers. Specifies the architectures for which the binary may be built. During the build, this list is intersected with the value of ARCHS build setting; the resulting list specifies the architectures the binary can run on.
I have had the same issue when making multiple targets. My issue was that I had to change my Product Name under Packaging.
In each target project > Build Settings > Packaging -> Product Name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With