Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

I exported as xcode project, opened in XCode 4.4.1 tested and archived, app builds properly and IPA file works on authorized devices (distribution profile as ad-hoc, synced via itunes)

However I've noticed that some missing files reported by XCode (no errors about them while compiling):

1) missing (red color) libPhoneGap.a in Project/PhoneGapTemplate/Frameworks folder

2) missing (red color) myapplicationname.app in Project/PhoneGapTemplate/Products folder

3) missing (red color) libCordova.a in Project/CordovaLib.xcodeproj/Products folder

I don't use in my project PhoneGap API yet so I don;t know if these missing files affect API.

Thoughts?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

xcode project - missing files

Hello! Could you send us a screenshot?

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

attached screenshot, when I click on red files it opens empty editor popup window, for other files it open regular editor with source

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

xcode project - missing files

Hello! Thank you for the screenshot. were you able to build your App in xCode?

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

yes, it build fine and runs on my iphone howevee I haven't checked against phonegap api issue, this error looks like related to phonegap library so I hope all phonegap functionality works..

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

I checked phonegap api and it workes when compiled in xcode 4.4.1 with missing files, not sure if this is an issue at all, just weird that files are marked as missing

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

I have to implement parse.com push notifications (since we don't have tiggzi push ETA) so I have to use XCode 4.5.x

I imported xcodeproj into XCode 4.5.x, when compiling for device it fails with error
As you wil notice, problem is with missing file libCordova.a.

chown: /Users/userehere/Library/Developer/Xcode/DerivedData/PhoneGapTemplate-fxlssbsepzgmhmafejswycsrpwnz/Build/Intermediates/ArchiveIntermediates/PhoneGapTemplate/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a: No such file or directory
Command /usr/sbin/chown failed with exit code 1

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

xcode project - missing files

not perfect solution... I found out that building seperatly cordova creates missing file, then I opened phonegaptemplate propject and compiled again, it works

guys, you really have to fix this new iOS / new phonegap issues, it is pain to compile in this shape...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

xcode project - missing files

Hi! This should help http://blog.tiggzi.com/2012/10/export.... We'll try to figure it out.

Return to “Issues”