You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Song Zheng (JIRA)" <ji...@apache.org> on 2014/05/30 16:59:01 UTC
[jira] [Created] (CB-6821) Cordova does not build under certain
build settings
Song Zheng created CB-6821:
------------------------------
Summary: Cordova does not build under certain build settings
Key: CB-6821
URL: https://issues.apache.org/jira/browse/CB-6821
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 3.5.0
Environment: OSX 10.9.3, XCODE 5.1.1, iOS 7.1.1 (device)
Reporter: Song Zheng
1. Create a new project: cordova create projectName
2. Add iOS platform: cordova platform add ios
3. Open Xcode: open projectName/platform/ios/..xcodeproj
4. Change project settings:
* Valid Architectures: armv7 (remove arm64 and armv7s)
* Build Active Architecture Only - NO
Expected behavior: Compile and run on device
Result (error):
Undefined symbols for architecture armv7:
"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVCommandQueue", referenced from:
_OBJC_CLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
_OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:openURL:sourceApplication:annotation:] in AppDelegate.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
"_CDVRemoteNotificationError", referenced from:
-[AppDelegate application:didFailToRegisterForRemoteNotificationsWithError:] in AppDelegate.o
"_CDVRemoteNotification", referenced from:
-[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] in AppDelegate.o
"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_CLASS_$_MainCommandDelegate in MainViewController.o
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--
This message was sent by Atlassian JIRA
(v6.2#6252)