Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19337] iOS: Cannot build when using defined keychain

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-08-11T20:23:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.0.0
ComponentsCLI
Labelsn/a
ReporterEduardo Gomez
AssigneeChris Barber
Created2015-08-10T16:02:26.000+0000
Updated2015-09-08T09:28:56.000+0000

Description

Issue Description

When using the --keychain parameter creates unreadable xcodeproj files.

Ti Build Command Reported

$ ti build --force --build-only --log-level trace --platform iphone --ios-version 9.0 --target dist-adhoc  --skip-js-minify --keychain /Users/ryan.moseley/Library/Keychains/login.keychainTitanium

Output

[INFO]  Cleaning Xcode derived data
[DEBUG] Invoking: DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer/ /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild clean
[TRACE] 2015-08-07 11:07:09.680 xcodebuild[3281:36737] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2736. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
[TRACE] 2015-08-07 11:07:09.687 xcodebuild[3281:36737] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2736. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
[TRACE] 2015-08-07 11:07:09.689 xcodebuild[3281:36737] The data couldn’t be read because it isn’t in the correct format.
[TRACE] xcodebuild: error: Unable to read project 'MB_Next_Gen_Phone.xcodeproj'.
[TRACE] Reason: Project /Users/ryan.moseley/Documents/TiStudioWorkspace/3.5-ios/MB-Next-Gen-Phone/build/iphone/MB_Next_Gen_Phone.xcodeproj cannot be opened because the project file cannot be parsed.
[ERROR] An error occurred during build after 1s 593ms
[ERROR] 74

Ti Build Command

The output of build process in my environment.
$ ti build --force --build-only --log-level trace --platform iphone --ios-version 9.0 --target dist-adhoc  --skip-js-minify --keychain /Users/egomez/Library/Keychains/login.keychain

Output

[INFO]  Cleaning Xcode derived data
[DEBUG] Invoking: DEVELOPER_DIR=/Applications/Xcode7Beta4.app/Contents/Developer /Applications/Xcode7Beta4.app/Contents/Developer/usr/bin/xcodebuild clean
[TRACE] 2015-08-10 10:46:35.719 xcodebuild[8291:55067] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2701. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
[TRACE] 2015-08-10 10:46:35.735 xcodebuild[8291:55067] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 2701. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
[TRACE] 2015-08-10 10:46:35.740 xcodebuild[8291:55067] The data couldn’t be read because it isn’t in the correct format.
[TRACE] xcodebuild: error: Unable to read project 'AppcTest.xcodeproj'.
[TRACE] Reason: Project /Users/egomez/Documents/Appcelerator_Studio_Workspace/AppcTest/build/iphone/AppcTest.xcodeproj cannot be opened because the project file cannot be parsed.
[ERROR] An error occurred during build after 2s 923ms
[ERROR] 74

Comments

  1. Chris Barber 2015-08-11

    PR: https://github.com/appcelerator/titanium_mobile/pull/7019
  2. Satyam Sekhri 2015-09-08

    Can build successfully when providing keychain in the ti build command Verified on: Mac OS 10.10.4 Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-41 Titanium CLI: 5.0.1 SDK: 5.0.0.v20150907115518 Xcode: 7 beta 6

JSON Source