Page 1 of 1

xcode project - missing files

Posted: Fri Oct 12, 2012 2:13 pm
by Eric5020946

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?


xcode project - missing files

Posted: Fri Oct 12, 2012 2:40 pm
by Maryna Brodina

Hello! Could you send us a screenshot?


xcode project - missing files

Posted: Fri Oct 12, 2012 3:51 pm
by Eric5020946

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

Image


xcode project - missing files

Posted: Mon Oct 15, 2012 8:53 am
by Maryna Brodina

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


xcode project - missing files

Posted: Mon Oct 15, 2012 1:10 pm
by Eric5020946

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..


xcode project - missing files

Posted: Tue Oct 16, 2012 12:09 pm
by Eric5020946

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


xcode project - missing files

Posted: Tue Oct 16, 2012 7:06 pm
by Eric5020946

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


xcode project - missing files

Posted: Tue Oct 16, 2012 7:18 pm
by maxkatz

xcode project - missing files

Posted: Wed Oct 17, 2012 8:46 pm
by Eric5020946

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...


xcode project - missing files

Posted: Thu Oct 18, 2012 8:34 am
by Maryna Brodina

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