I am having this issue too. Has there been a fix published for this issue?
I am having this issue too. Has there been a fix published for this issue?
Hello! PhoneGap version has been upgraded. Could you clarify what is the exact problem you have?
When trying to install the application from Xcode 5.01 to an iphone 5 running iOS 7 I get the Build Failed and the errors are Apple Mach-O Linker Error.
Here are the errors:
Ld /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos/projectName.app/projectName normal armv7s
Code: Select all
cd /Users/johnbardis/Desktop/proj/proj11212013a
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos -L/Users/johnbardis/Desktop/proj/proj11212013a -F/Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos -filelist /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Intermediates/NOW.build/Debug-iphoneos/PhoneGapTemplate.build/Objects-normal/armv7s/projectName.LinkFileList -dead_strip -ObjC -all_load -fobjc-link-runtime -miphoneos-version-min=4.3 /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos/libCordova.a -liconv -framework CoreVideo -framework AssetsLibrary -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework CoreLocation -framework CoreMedia -framework MediaPlayer -framework MobileCoreServices -framework QuartzCore -framework SystemConfiguration -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Intermediates/NOW.build/Debug-iphoneos/PhoneGapTemplate.build/Objects-normal/armv7s/projectName_dependency_info.dat -o /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos/projectName.app/projectName ld: warning: ignoring file /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (armv7s): /Users/johnbardis/Library/Developer/Xcode/DerivedData/NOW-avnhfjihrfkwtidadvrhtlrutroy/Build/Products/Debug-iphoneos/libCordova.a
Undefined symbols for architecture armv7s:
"OBJC_CLASS$_CDVPluginResult", referenced from:
Code: Select all
objc-class-ref in CDVBarcodeScanner.o
objc-class-ref in PushNotification.o "OBJC_METACLASS$_CDVPlugin", referenced from:
Code: Select all
_OBJC_METACLASS_$_ChildBrowserCommand in ChildBrowserCommand.o
_OBJC_METACLASS_$_CDVBarcodeScanner in CDVBarcodeScanner.o
_OBJC_METACLASS_$_PushNotification in PushNotification.o "OBJC_METACLASS$_CDVViewController", referenced from:
Code: Select all
_OBJC_METACLASS_$_MainViewController in MainViewController.o "OBJC_CLASS$_CDVPlugin", referenced from:
Code: Select all
_OBJC_CLASS_$_ChildBrowserCommand in ChildBrowserCommand.o
_OBJC_CLASS_$_CDVBarcodeScanner in CDVBarcodeScanner.o
_OBJC_CLASS_$_PushNotification in PushNotification.o "OBJC_CLASS$_CDVViewController", referenced from:
Code: Select all
_OBJC_CLASS_$_MainViewController in MainViewController.o ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hello! To compile app for iOS7 you have to set Libraries version in App Settings--External resources to 1.2 (don't forget to click Apply)
Thank you. That worked