Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
I am writing a static library for iphone. When I select iPhone Device 2.2.1 (BASE SDK) in the Active SDK. It popped following error.
gcc-4.0: Invalid arch name : armv7 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 failed with exit code 1
This error is gone if I choose iPhone Simulator 2.2.1 in the Active SDK.
Another question is very naive.
I am writing a static library and I don't want people to see the source code. However, when I try it with a test app. I found I could actually debug into the source. How do I resolve this problem?
For the first question, is your selected device running iPhone OS 2.2.1?
For question number 2 you can only debug into source because Xcode has access to your sourcecode. If you compile and distribute your static library other users will not have access to your source.
My iPhone apps
Bookworm - Read thousands of books right on your device
The second problem was caused by myself. I edited my Release build setting but not debugging. The debug was still looking into the source code path. The release however was searching through a folder created after the build.
For the first question.
I didn't connect my iphone to the computer nor do I have a license for it yet. Is that the cause? The strange thing is, I am simply building a static library. Do I have to have my iphone connected just to build for the Device?
Innovation;146720 said:
For the first question, is your selected device running iPhone OS 2.2.1?
For question number 2 you can only debug into source because Xcode has access to your sourcecode. If you compile and distribute your static library other users will not have access to your source.
Replies
For question number 2 you can only debug into source because Xcode has access to your sourcecode. If you compile and distribute your static library other users will not have access to your source.
Bookworm - Read thousands of books right on your device
<a href="http://itunes.apple.com/ca/app/grandmaster-check
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeFor the first question.
I didn't connect my iphone to the computer nor do I have a license for it yet. Is that the cause? The strange thing is, I am simply building a static library. Do I have to have my iphone connected just to build for the Device?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome<a href="http://it
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome