[AC-1566] iOS 8 build fails with error ResourceRules.plist: cannot read resources
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2015-04-06T23:16:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | TCSupportTriage, cli, error, ios |
Reporter | sunny rajpal |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-01-27T16:26:42.000+0000 |
Updated | 2016-03-08T07:38:01.000+0000 |
Description
iOS mobile app on Ti SDK 3.5.0 using CLI 3.4.1
I am getting the following error when I am building an app for iOS 8 using CLI titanium
error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign [signing info] --resource-rules=/var/folders/_p/yc3cv_x94gs5q3nvyh8sfxsm0000gn/T/B6GfNPj8Ki/Payload/[app name].app/ResourceRules.plist /var/folders/_p/yc3cv_x94gs5q3nvyh8sfxsm0000gn/T/B6GfNPj8Ki/Payload/[app name].app failed with error 1. Output: /var/folders/_p/yc3cv_x94gs5q3nvyh8sfxsm0000gn/T/B6GfNPj8Ki/Payload/[app name].app/ResourceRules.plist: cannot read resources
here are the commands that i am running:
titanium build --platform ios --build-only --device-family universal --target dist-appstore --project-dir [dir] --distribution-name '[dist info]' --pp-uuid [uuid]
/usr/bin/xcrun -sdk iphoneos PackageApplication [app] -o [ipa] --sign [sign info]' --embed [mobileprovision]
stack overflow has a solution: http://stackoverflow.com/questions/26497863/xcode-6-1-error-while-building-ipa-using-testflight-app/26499526#26499526
but that requires changing a setting in xcode gui
Hello, are you able to do it via Ti Studio?