View
 

PhoneGap xCode building problem solutions

Page history last edited by ANDYED@... 2 years, 10 months ago

When i started working with PhoneGap in xCode, and tried building and testing everything, i ran into a few problems.

Try to list the most common problems here, and how to fix them.

 

 

gcc-4.0 failed with exit code 1

Why: Has something to do woth a wrong filename. Everything works fine when testing in simulator, but 'distribution' doesn't work.

Solution: Rename 'PhoneGap_Prefix.pch' in 'Other sources' to 'Glass_Prefix.pch'. 

 

valid provisioning profile is required for product type 'Application' 

Why: Sum' xCode bug.

Solutionhttp://www.furmanek.net/54/iphone-sdk-22-codesign-error/. To find and edit project.pbxproj without fancy programs, Right-click your .xcodeproj file, and select 'show package contents'. Then open the .pbxproj file with texteditor.