- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't build the iOS version of one app of mine, but if I rename 'myapp.xdk' and 'myapp.xdke' project files into
'myapp2.xdk' and 'myapp2.xdke' everything works fine.
Is there any cache on build servers? I tried to remove the app from the cloud, but it didn't fix the issue.
The app was originally created and built with pre-1621 xdk.
Here is the build log (I renamed the app name into 'myapp'): please ignore the error about the icon
(it is also there for 'myapp2' successful build and the icon is present in the ipa package).
Installing "<plugin_list_here>" for ios Generating config.xml from defaults for platform "ios" Calling plugman.prepare for platform "ios" Preparing ios project Processing configuration changes for plugins. Iterating over installed plugins: [ '<plugin_list_here>' ] Writing out cordova_plugins.js... Wrote out iOS Bundle Identifier to "com.myapp.myappapp" Wrote out iOS Bundle Version to "0.0.1" Copying icon from .../myapp/.sys/res/icon/ios/icon-60.png to .../myapp/platforms/ios/myapp/Resources/icons/icon-60.png cp: no such file or directory: .../myapp/.sys/res/icon/ios/icon-60.png mv: dest file already exists: .../myapp/platforms/ios/myapp/myapp-Info.plist mv: dest file already exists: .../myapp/platforms/ios/myapp/myapp-Prefix.pch shell.js: internal error Error: EINVAL, invalid argument '.../myapp/platforms/ios/myapp.xcodeproj' at Object.fs.renameSync (fs.js:543:18) at /Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:77:8 at Array.forEach (native) at Object._mv (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:53:11) at Object.mv (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23) at pbxProject.<anonymous> (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/ios_parser.js:162:27) at pbxProject.EventEmitter.emit (events.js:98:17) at pbxProject.<anonymous> (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/node_modules/xcode/lib/pbxProject.js:30:18) at ChildProcess.EventEmitter.emit (events.js:98:17) at handleMessage (child_process.js:322:10)
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The format of these projects between builds is quite different. Change those files will correct this. You could also attempt to update the project by trying to open it with the newest version of the XDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is currently a bug with Cordova/iOS.
If your project name (as it appears in the XDK) and your application name that you entered are the same string but contain differences in capitalization, this error can occur. This is a bug in Cordova.
Example:
Project Name - MyApp
App Name = myapp
To test this error, use a different app name and rebuild.
Let me know if that is the issue.
There is a work around that is currently being tested but is not up there yet.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With your suggestion, iOS build succeeded:
just renaming the project file with the same capitalization as the application name and reimporting it in XDK was enough to let it work fine.
Thanks!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page