Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 19    Views: 118

ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
12/28/12 02:40 PM (13 years ago)

errors when compiling first simple app in Xcode

Hello, I created a very simple app in buzztouch. When I try to preview the code in xcode I'm getting a "build failed" message in xcode 4.2 running on macbook pro (os x 10.6.8). Xcode gave 14 issues between warnings and semantic errors. I appreciate your help. ozain
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
12/28/12 04:24 PM (13 years ago)
Hi ozain, Have you already dragged the plugin folders into your Xcode project? Also can you post the error warnings? Not on my Mac right now but will be home soon for a better look. Keep us posted:) Ian
 
ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
like
12/28/12 04:50 PM (13 years ago)
Thanks Ian, Yes I did drag the plugin folder into Xcode. As for the error warnings, I uploaded a screenshot to: http://dl.dropbox.com/u/32735778/error_messages.jpg thanks again for your help. ozain
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
12/28/12 06:54 PM (13 years ago)
Hi ozain, Xcode 4.5 with IOS 6 SDK will most likely get rid of those errors and allow you to compile for the latest IOS devices as well. I would definitely try to update your system. Keep us posted. Ready to help. ian
 
runr140
I hate code!
Profile
Posts: 7
Reg: Dec 27, 2012
Saskatchewan
1,920
like
12/28/12 11:15 PM (13 years ago)
I'm getting a similar error. I'm running OSX Snow Leopard with Xcode 4.2, and I'm getting an error that states: URLIsExcludedFromBackupKey is undefined. Do you expect that an upgrade would help that as well? Problem is that I think I'll have to upgrade to Lion to get anything above Xcode 4.2.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/29/12 12:25 AM (13 years ago)
Hi @ozain, Those errors are absolutely related to iOS6, which requires Xcode 4.5. I have the same problem on my Xcode 4.2/iOS5 system, but unfortunately am stuck at Snow Leopard. There is a way around it, but if you can upgrade, that's the preferred solution. Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/29/12 12:43 AM (13 years ago)
Bummer. I'm seeing two things in the screenshot posted by @ozain. 1) We made some updates to the BT_Core > BT_fileManager.m file about a week ago in order to flag files as "do not backup" per Apple's requirements. It looks like these changes trigger the three warnings (yellow) in the screenshot. 2) We made some changes quite awhile ago in BT_screenMap.m to accomodate iOS 6's map kit classes (they changed with iOS 6). I didn't realize these changes required Xcode 4.5 but did think we coded around the fact that some folks are still compiling with Xcode 4.2. Can anyone setup a Team Viewer screen I can log into so I can see what line numbers are causing these issues? I may be able to work up some changes to allow both older Xcode 4.2 compilers to work, while also allowing newer Xcode 4.5 compilers to work. I thought this was already the case. LOL. Another thought: It's my understanding that Apple is no longer accepting apps complied with the older version of the iOS SDK anyway. Darned Apple is always motivated to force us (anyone making iOS apps) to the newest version of their stuff but they generally give a longer grace period. Lastly: See this discussion (the comments, then follow the link in the top post) to get the iOS 6 SDK running with Snow Leopard. http://stackoverflow.com/questions/12508357/import-ios-6-sdk-into-xcode-4-2-on-snow-leopard
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/29/12 12:45 AM (13 years ago)
Hi David, This is the same issue you helped me with some time back, and made some code changes for me. I'll track down that file and send it to you. Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/29/12 02:06 AM (13 years ago)
@GoNorthWest. Cool. But, I thought I got those changes added to the download server. Maybe not. I remember "removing" some of the logic in the Map screen to prevent the older Xcode compiler from getting confused. LOL. I guess if we had to remove some stuff then it makes sense that those changes would NOT be on the download server.
 
runr140
I hate code!
Profile
Posts: 7
Reg: Dec 27, 2012
Saskatchewan
1,920
like
12/29/12 01:35 PM (13 years ago)
Thanks for the stackoverflow link, David. I found another link that had a drag and drop method that didn't work. Sometimes I guess I need to just suck it up and use the terminal to get the job done. I just finished up the steps on that link, restarted Xcode, and compiled the source code with the iPad 6.0 simulator with no errors. Using the iPad 5.0 simulator I got it to start, but had the following error: dyld: Symbol not found: _NSURLIsExcludedFromBackupKey Referenced from: /Users/blairemde/Library/Application Support/iPhone Simulator/5.0/Applications/D3869A1E-16E2-410B-B79E-84C6BD5A1A33/blairstest.app/blairstest Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/Foundation.framework/Foundation in /Users/blairemde/Library/Application Support/iPhone Simulator/5.0/Applications/D3869A1E-16E2-410B-B79E-84C6BD5A1A33/blairstest.app/blairstest Looks like it's related to the original issue. Can't stay for a TeamViewer session though. I'll check back for updates. Hope I've helped somehow.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/29/12 02:31 PM (13 years ago)
Hey David, Found the BT_screen_map.m file you modified on my system and sent it to you. Look on line 747 for your comments. Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/29/12 03:05 PM (13 years ago)
Hi @ozain, Absolutely no coding experience is required...you're literally getting caught in the transition to iOS 6. David made the required changes, but for those of us using downlevel versions of Xcode and the SDK, there are still some issues. Nothing that can't be worked out, so hang in there. Xcode as an application can be a bit challenging, but it literally has nothing to do with Objective C coding, which is what's used to write iOS apps. If you ever have to write a single line of code, I'd be super surprised! Mark
 
ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
like
12/29/12 03:06 PM (13 years ago)
Hello Mark, David, and runr140, Thank you all for your help. It seems that I need to upgrade my OS and Xcode in order to compile the apps created on buzztouch, right? I use a MacBook Pro (OS X 10.6.8) purchased late 2009. I believe it is compatible with mountain lion. I will check with apple in order to install the new OS. As you can see I'm new to buzztouch. I have a background and extensive experience in graphics and video graphics for multimedia projects. However, I have no coding experience at all. I was excited about buzztouch since it offers great tools for app building without coding. However, I feel that, judging by your replies, one should have coding knowledge in order to finish building professional apps using buzztouch. Unfortunately I didn't even get the chance to preview a very simple app due to IOS 6 SDK. Now my question is: if I do update my OS and IOS in order to use Xcode 4.5 do I really need to learn coding in order to use buzztouch to produce professional apps? Your help and time are highly appreciated. ozain
 
ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
like
12/29/12 03:16 PM (13 years ago)
Thanks Mark for the prompt response. Sorry I didn't get to finish my previous post and it was submitted by mistake. I did submit the finished post a minute ago. I'm really relieved by your assurance that no coding experience is needed. As thousands of visual artists out there, I have been fascinated by the world of mobile apps and had few ideas and "looks" that I always wanted to realize in a operational apps. The major obstacle was always coding. Sorry to say I hated programming all my life and I don's see myself learning it. Your response encourages me to upgrade my system and dive into buzztouch platform without a worry about coding!!!! Thanks again. ozain
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/29/12 03:21 PM (13 years ago)
Hi ozain, Sweet! I'll tell you...I have three apps on the app store, and haven't coded a single line. I found buzztouch while looking for a non-coding solution, and never looked back once I landed here. Anything you need, the community is here to help...even to code! Let us know what we can do to help you out! Mark
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
12/29/12 03:24 PM (13 years ago)
Awesome ozain, You will be very happy if you install Mountain Lion and the latest Xcode and SDK's. Then you will be able to build apps for newer IOS 6 devices. Keep us posted if you need help:) ian
 
ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
like
12/29/12 03:25 PM (13 years ago)
I agree Mark, the buzztouch community is really great. Thanks again and Happy new year. ozain
 
ozain
I hate code!
Profile
Posts: 7
Reg: Dec 29, 2011
washington
3,120
like
12/29/12 03:30 PM (13 years ago)
Hello Ian, Thanks for your help, as I just told Mark, this is a great community. I wonder if I need to back up my files and/or application when I upgrade from snow leopard to Mountain Lion, do you have any tips re the upgrade. thanks again! ozain
 
runr140
I hate code!
Profile
Posts: 7
Reg: Dec 27, 2012
Saskatchewan
1,920
like
01/02/13 01:42 PM (13 years ago)
Hi Ozain, I would definitely backup your most precious data before doing any kind of upgrade. I haven't had an upgrade in OSX go bad, but I've had plenty of bad experiences with Windows and learned a few lessons the hard way. I'd also check any third-party applications you use lots (for example, my wife uses Adobe Photoshop CS5) to make sure they are compatible with OSX Mountain Lion. Some programs aren't compatible with the latest version and you often have to purchase an upgrade. I use a program called VMWare Fusion and I know I'll have to pay $50 or $100 to upgrade that program if I go to Mountain Lion. If you do a lot of work and treasure you data, I would even recommend investing in an external hard drive that's compatible with OSX's "Time Machine" software. Time Machine makes backups automatically every time a file changes, and I've used it to restore computers before with great results!
 
runr140
I hate code!
Profile
Posts: 7
Reg: Dec 27, 2012
Saskatchewan
1,920
like
01/02/13 01:45 PM (13 years ago)
David, Did you get any adjustments made to the code for OSX Snow Leopard users or did you decide not to because of your notion about Apple requiring the latest SDK on new app submissions?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.