genhao1 / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

iOS pbxproj files missing double quotes, xcodebuild won't work with them. #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate an iOS gyp project (mine is an app w two static-library deps)
2. try to immediately compile with xcodebuild (xcode 6.1)
!. It hangs and does not exit
Ctrl+C
3. open same project in Xcode (6.1)
4. Immediately exit
!. xcodebuild now works fine.

What is the expected output? What do you see instead?

I would expect xcodebuild to work right away. It just hangs instead and never 
exits.

What version of the product are you using? On what operating system?

r2011, os x mavericks

Please provide any additional information below.

If I load Xcode on a gyp-generated project, then exit, it changes a few lines. 
There are two types:

3DE6388F872CB0F55BBDF2DC /* DEPENDENT LIBRARY.xcodeproj */ = {isa = 
PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = DEPENDEN 
LIBRARY.xcodeproj; path = /path/to/xcodeproj; sourceTree = SOURCE_ROOT; };

and

DEEC92DE6DE7C8221236C4A9 /* CORE APP.app */ = {isa = PBXFileReference; 
explicitFileType = wrapper.application; includeInIndex = 0; path = CORE 
APP.app; sourceTree = BUILT_PRODUCTS_DIR; };

Xcode will wrap the path values in double quotes.

Until they are wrapped, xcodebuild won't build the project.

Original issue reported on code.google.com by marc...@google.com on 8 Dec 2014 at 2:21