Compiling in Xcode 6.1 on emulator for iPhone 4s and 5 are fine. When we get to emulate on 5s, 6 and 6 Plus receiving this
ld: warning: ignoring file /Users/xxx/platforms/ios/eBid/Plugins/com.pushapps.phonegap/PushApps, -------missing required architecture x86_64 in file /Users/xxx/platforms/ios/eBid/Plugins/com.pushapps.phonegap/PushApps (4 slices)
Undefined symbols for architecture x86_64:
"_OBJCCLASS$_PushAppsManager", referenced from:
objc-class-ref in CDVPushApps.o
objc-class-ref in AppDelegate+PushApps.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
armv7 arm64 are Architectures
armv7 armv7s arm64 are Valid Architectures
Problem located. It is to do with the internal iOS Simulator. Plugin won't build due to lacking i386 and x86_64 architectures. Plug in an external device and build to that and it will work ok.
Using Cordova CLI 4.2.0
Compiling in Xcode 6.1 on emulator for iPhone 4s and 5 are fine. When we get to emulate on 5s, 6 and 6 Plus receiving this
ld: warning: ignoring file /Users/xxx/platforms/ios/eBid/Plugins/com.pushapps.phonegap/PushApps, -------missing required architecture x86_64 in file /Users/xxx/platforms/ios/eBid/Plugins/com.pushapps.phonegap/PushApps (4 slices) Undefined symbols for architecture x86_64: "_OBJCCLASS$_PushAppsManager", referenced from: objc-class-ref in CDVPushApps.o objc-class-ref in AppDelegate+PushApps.o ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
armv7 arm64 are Architectures armv7 armv7s arm64 are Valid Architectures
Any ideas?