Pages: 1 2 [3] 4
Author Topic: Xcode 4.5 not supporting 10.6 SDK  (Read 20234 times)
obviousjim
Brooklyn, NY

Posts: 193

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #30 on: September 22, 2012, 03:36:22 PM »

yeah apps compiled with 10.6 as the release target will still run on 10.7 and 10.8 just fine
Logged

tomorrowevening
Los Angeles

Posts: 21

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #31 on: September 25, 2012, 10:23:13 PM »

@nardove
I got iOS 007 simulators to work on Xcode 4.5 as soon as I updated my project's openframeworks.proj Base SDK to iOS 5.1.

When trying to build onto an iPhone 4 running iOS6 it fails during compiling with this (base sdk either 5.1 or 6 breaks):
Quote
(null): Linker command failed with exit code 1 (use -v to see invocation)

ld: file is universal (4 slices) but does not contain a(n) armv7s slice: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/crt1.3.1.o for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
« Last Edit: September 25, 2012, 11:10:21 PM by tomorrowevening » Logged
yakito

Posts: 2

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #32 on: September 26, 2012, 03:10:00 AM »

Hello,

I am using Xcode 4.5 with Mountain Lion and I am not being able to run the latest version of OF provided by @obviousjim

As I am new to OF there are BIG chances I am doing something wrong. Basically what I am doing is navigating to the /devApps examples opening the xcodeproj file and building. I am using the Base SDK 10.7, although I tested with 10.8 and I had the same problem. Unfortunately I don't have 10.6 to make it work :(

Any idea what I might be doing wrong?

Any tip in the right direction will be much appreciated!
Thanks!
Logged
tomorrowevening
Los Angeles

Posts: 21

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #33 on: September 26, 2012, 07:42:24 PM »

@yakito
Here's how I got mine to work: update the openframeworks.xcodeproj's Base SDK

Logged
yakito

Posts: 2

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #34 on: September 26, 2012, 09:23:51 PM »

Thanks SOO much, I have it working now. I though with the version linked in this thread it was going to work using SDK base 10.7, but anyway I installed 10.6 and now it builds.

Thanks for the fast reply!
Logged
Chris OShea
London

Posts: 664

Gravatar

Artist / designer / inventor


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #35 on: September 27, 2012, 08:53:26 PM »

hey, so i'm about to update an app, even though its iOS 5, do I need to upgrade xcode & probably my OS so that its built with arm7s too?
Logged

tomorrowevening
Los Angeles

Posts: 21

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #36 on: September 27, 2012, 10:08:50 PM »

Unless you need to update to xcode 4.5 and iOS6, I would hold off for now. It's a bit of work to get OF to work after the upgrade and currently unreliable. I would hold off until all issues are resolved and pushed.

Speaking of which: if I can't get my ad hoc provisioning profile to work for ad hoc distribution via Test Flight (xcode 4.5), will that get in the way of submitting to Apple?? If so, then a definite NO to upgrading @ Chris.
Logged
Nixon

Posts: 43

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #37 on: October 18, 2012, 05:10:48 PM »

Hey, i ve installed the latest x code version and added the 10.06 SDK, I set it for both the project I test and the openframeworks lib like shown everywhere. When I try to run the programm I still have errors with QuickTime related stuff, what am I doing wrong? Thx guys.
Logged
tomorrowevening
Los Angeles

Posts: 21

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #38 on: October 18, 2012, 09:04:25 PM »

Have you tried cleaning the project? Triple-check that the openFrameworksLib.xcodeproj's Project and Target both use OSX 10.6. My project's target is only set to OSX 10.6, the "project" is set to "Current OSX" and it works fine.

Also, I was able to successfully use TestFlight with adhoc distribution with the new Xcode, just follow the instructions in this iOS thread http://forum.openframeworks.cc/index.php/topic,10771.0.html
Logged
Nixon

Posts: 43

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #39 on: October 18, 2012, 11:42:05 PM »

sry, i m new to xcode, how to clean the project?
Logged
tomorrowevening
Los Angeles

Posts: 21

Gravatar


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #40 on: October 18, 2012, 11:51:03 PM »

Xcode Clean - Menu bar: Product > Clean, or Apple+Shift+K

Here's what mine looks like as an example:


I made sure that both Base SDK's were set to OSX 10.6 for the openFrameworks.xcodeproj's "Project" and "Target" build settings. That should do it!
Logged
Nixon

Posts: 43

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #41 on: October 18, 2012, 11:59:58 PM »

thank you very much, now it works fine, cleaning was the key :)
Logged
danielob
México

Posts: 2

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #42 on: October 28, 2012, 12:18:22 AM »

Hi guys. I'm having problems trying to compile OF_v0072 in Xcode 4.5.1, mac osx lion 10.7.5 and mac osx 10.6sdk. When i do every step you said about changing the base sdk of the project i have the following error



If i don't try to change the base sdk from 10.8 to 10.6, i have a "TargetConditionals.h file not found"

I have tryed everything you recommend in this post and at this link to https://github.com/openframeworks/openFrameworks/issues/1658

Thanks in advance for any help.
Logged
danielob
México

Posts: 2

Gravatar


Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #43 on: October 28, 2012, 03:11:19 AM »

So finally made it. Apparently the mistake was on my Xcode library configuration or something. Did a total uninstall (deleting the xcode.app and removing all the previous libraries from older xcode versions using "sudo /Developer/Library/uninstall-devtools --mode=all"). That work for me.
Logged
jpatino
Sr. Chaos Analyst
New York

Posts: 10

Gravatar

There is no time.


WWW
Re: Xcode 4.5 not supporting 10.6 SDK
« Reply #44 on: December 07, 2012, 07:01:16 PM »

Great stuff so far guys,

I'm working on getting the ofxQTSaver example running on my:

Mac OSX Lion 10.7
XCode 4.5
of_v0073_osx_release

First, I was missing the Base SDK (OS X 10.6) and found the solution on the oF forum here.

After getting that to work, I couldn't open the openFrameworksLib.xcodeproj file. It needed to be updated, so I did that.

Now, the ofxQTSaver.cpp file is claiming "undeclared identifiers" (see attached image).

I tried to do the clean and reset the Base SDKs, taking me back to 29 Errors. -_-

I'm hitting a wall.

JP

Thanks,

JP


* Screen Shot 2012-12-07 at 12.57.37 PM.png (117.71 KB, 509x528 - viewed 750 times.)
« Last Edit: December 07, 2012, 07:06:26 PM by jpatino » Logged

On a long enough time line, the survival rate for everyone drops to zero. Do something until then.
Pages: 1 2 [3] 4
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines

viagra priser