Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to correctly initialise Xcode on 7 beta 2 and onwards #278

Closed
neonichu opened this issue Jun 25, 2015 · 2 comments
Closed

Comments

@neonichu
Copy link
Member

Initialisation of Xcode frameworks fails right now for 7 beta 2, see #275. We have modified Xcodeproj to more gracefully handle this case, but it will now use XML writing on that version. We should figure out how to properly initialise Xcode so that ASCII plist writing can be done.

@neonichu
Copy link
Member Author

With #279, Xcodeproj crashes for me again, on El Cap, beta 1 and

$ xcodebuild -version
Xcode 7.0
Build version 7A121l

@cezheng
Copy link

cezheng commented Jun 27, 2015

@neonichu
I have updated to Cocoapods 0.38.0.beta.1 with Xcodeproj 0.25.0 which includes all the mentioned bug fixes for Xcode beta 2. Yet running pod lib lint or pod spec lint still fails with the DVTAssertions failure.

2015-06-27 20:00:57.974 ruby[7960:211849] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8123.33/IDEFoundation/Initialization/IDEInitialization.m:590
Details:  Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread:   <NSThread: 0x7f8a9b924ec0>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x0000000106da8047 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x0000000106da77d4 _DVTAssertionHandler (in DVTFoundation)
  2  0x0000000106da7a40 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x0000000106da79a2 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x000000010835b1a9 IDEIsInitializedForUserInteraction (in IDEFoundation)
  5  0x000000010c2caa5d +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
  6  0x000000010c2cc5e2 +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
  7  0x00007fff8a73cf44 ffi_call_unix64 (in libffi.dylib)
[1]    7960 abort      pod lib lint
2015-06-27 20:01:46.701 ruby[7994:212745] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8123.33/IDEFoundation/Initialization/IDEInitialization.m:590
Details:  Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread:   <NSThread: 0x7fd685a22750>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x000000010661f047 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010661e7d4 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010661ea40 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010661e9a2 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x0000000107c421a9 IDEIsInitializedForUserInteraction (in IDEFoundation)
  5  0x000000010bb58a5d +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
  6  0x000000010bb5a5e2 +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
  7  0x00007fff8a73cf44 ffi_call_unix64 (in libffi.dylib)
[1]    7994 abort      pod spec lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants