v quick iPhone app submission question

Previous topic - Next topic

Ian Price

I too get BASE SDK Missing every time I trasnfer a new version of my app. It's just a case of clicking the box now though and selecting "Release". Problem sorted.
I came. I saw. I played.

Crivens

I don't anymore. Can't remember what I did now. Am at work so can't check, but I think it was the bit about changing the target phone to the latest iOS (4.2), but then also changing the 2 items around it. ie. the projects iOS and the executable phone. Or something like that. Then save, quit XCode, and load up again. Worked fine.

Note though that I'm using a modified macro to scp just the libs (not even media - thats another macro) to the Mac. So everytime I change some code I compile for the iPhone (any way to get a button on the taskbar?), hit the macro to copy just the libs to the Mac, because XCode is still running I just then click compile, and a few seconds later it's on the iPhone. Whole process takes about 10-20 seconds or so (because you don't have to change all the project settings again which I used to have to do all the time when I copied over the complete project folder).

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Ian Price

I also changed the target info to "the latest iOS" and I think that's what helped with the just needing to select "Release"

I haven't found an option that will make it permanently "Release" - though I haven't really looked.

If you can present your exact steps Crivens, then this could really help the community. We need to put info like this into an iDevice thread - if it was locked, then only mods could post in it, so it's upto-date, relevant with no waffle or spam. The thread could cover all aspects of dealing with iDevice, from compiling to distribution etc.

I came. I saw. I played.

Crivens

Yeah sure I will check it out. It also gets rid of any red warning lines which is nice.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Moebius

#19
I do a similar thing to Crivens.  Each time you compile, the only thing that really changes is "libprogram.a" in the 'Lib' folder.  So, if you are just changing the code, all you have to do is copy this over to the 'Lib' folder on your mac.  When you compile, your program is updated, and you don't have to reconfigure the target, or even restart XCode!
^^ Hopefully that made sense Ian.

That is by far the easiest way, just copying over what is necessary.  What GLB does is it copies the XCode project files from a folder in Program Files, and simply adds "libprogram.a", which contains your compiled code (please correct me Gernot if I'm wrong here).  If your program changes, compile it, and copy over "libprogram.a".  If you change your media, copy the new media over.  That simple.  XCode stays open, everything works.

If you want each new XCode project to be automatically set up (i.e. not have the "Base SDK not found" error), this should work - and please note I haven't tested this yet  :whistle::
1) Compile an app for iPhone
2) Delete 'libprogram.a'
3) Copy to mac and open in XCode
4) Configure properties as you want them to be for each new project (i.e. change SDK, product name, etc.)
5) Copy resulting files into their location in GLBasic's program files folder (should be "C:\Program Files\GLBasic\Compiler\platform\iPhone\XCode\GLBasic")

I'm just testing the above method now...  No guarantees  =D
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Ian Price

Sounds about right :)

If it is just this lib that changes, maybe Gernot can alter it so that it's automagically in "Release" mode.
I came. I saw. I played.

ampos

The easiest way is to make the project folder in windows shared, then on Mac select "connect to" (or the hell is called in english) and type "smb:\\192.168.1.2" (change the ip to your PC ip). Then choose the folder in windows with the project.

Now you can open the xcode folder in mac and compile without copying anything.

Notice: if you try "build&archive" it fails, it has to be local. But create an ipa is rarely done, just for release.

Moebius

Confirmed my method working (or at least I can't find any problems).  Until an update (:nw:), you can set your default settings like that.
I also notice that V9 sets the app name to the project name  =D

BTW Command+K is the shortcut for connect to :)
I wouldn't bother copying, but file permission issues make compiling from my PC impossible, and I haven't been bothered to sort them out yet...

Also there's an easier way to create an ipa:
- Put your app in a folder called payload.
- Zip payload into zip format.
- Rename "Payload.zip" to "YourNameHere.ipa"
:good:

Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary