ionic-team / legacy-ionic-cloud

JavaScript Client for legacy Ionic Cloud services. See Ionic Pro for our new take on the ionic development lifecycle
Apache License 2.0
65 stars 26 forks source link

ionic IOS package build error: linker command failed with exit code 1 (use -v to see invocation) #63

Open omhybrid opened 8 years ago

omhybrid commented 8 years ago

my config

Cordova CLI: 6.3.1 Ionic Framework Version: 1.2.4 Ionic CLI Version: 2.1.0 Ionic App Lib Version: 2.0.0-beta.20 OS: Windows 7 Node Version: v4.5.0

Output Error

Ld build/device/venture_places.app/venture_places normal armv7 cd /Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=8.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/device -L/Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/venture_places/Plugins/phonegap-plugin-push/GCM/Libraries -F/Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/device -filelist /Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/venture_places.build/Debug-iphoneos/venture_places.build/Objects-normal/armv7/venture_places.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -ObjC -fobjc-arc -fobjc-link-runtime /Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/device/libCordova.a -framework CoreLocation -framework CoreBluetooth -framework AVFoundation -framework Photos -framework AddressBook -framework EventKit -framework Contacts -framework UserNotifications -framework QuartzCore -framework MapKit -lGGLCloudMessaging -lGGLCore -lGGLInstanceIDLib -lGIP_Reachability -lGSDK_Overload -lGTMSessionFetcher_core -lGTMSessionFetcher_full -lGTMStackTrace -lGTM_AddressBook -lGTM_DebugUtils -lGTM_GTMURLBuilder -lGTM_KVO -lGTM_NSData+zlib -lGTM_NSDictionary+URLArguments -lGTM_NSScannerJSON -lGTM_NSStringHTML -lGTM_NSStringXML -lGTM_Regex -lGTM_RoundedRectPath -lGTM_StringEncoding -lGTM_SystemVersion -lGTM_UIFont+LineHeight -lGTM_core -lGTM_iPhone -lGcmLib -lProtocolBuffers -lsqlite3 -lz -Xlinker -dependency_info -Xlinker /Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/venture_places.build/Debug-iphoneos/venture_places.build/Objects-normal/armv7/venture_places_dependency_info.dat -o /Users/package/workspace/apps-510bdd29-54/cordova/platforms/ios/build/device/venture_places.app/venture_places ld: framework not found UserNotifications clang: error: linker command failed with exit code 1 (use -v to see invocation)

ericb commented 8 years ago

Are you attempting to use custom libraries with your ios project? It's saying that it can't find a UserNotifications library.