Posts

Post not yet marked as solved
1 Replies
763 Views
Using the following command:xcodebuild -workspace 'My.xcworkspace' -scheme 'My scheme' -destination 'generic/platform=iOS' -sdk iphoneosI get the following errors:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/cdefs.h:707:2: error: Unsupported architecture #error Unsupported architecture ^ While building module 'UIKit' imported from /Users/avi/Projects/rounds/iphone/Pods/Target Support Files/GCDWebServer/GCDWebServer-prefix.pch:2: While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8: In file included from <module-includes>:3: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/copyfile.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stdint.h:63: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/stdint.h:52: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:33: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ While building module 'UIKit' imported from /Users/avi/Projects/rounds/iphone/Pods/Target Support Files/GCDWebServer/GCDWebServer-prefix.pch:2: While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:The errors continue in that vein until xcodebuild gives up.As can be determined from the error messages, I am using Cocoa Pods.
Posted
by AviS.
Last updated
.