obviousjim
Brooklyn, NY
Posts: 193
|
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
|
@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): (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
|
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
|
@yakito Here's how I got mine to work: update the openframeworks.xcodeproj's Base SDK 
|
|
|
|
|
Logged
|
|
|
|
|
yakito
|
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
Artist / designer / inventor
|
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
|
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
|
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
|
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
|
sry, i m new to xcode, how to clean the project?
|
|
|
|
|
Logged
|
|
|
|
tomorrowevening
Los Angeles
Posts: 21
|
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
|
thank you very much, now it works fine, cleaning was the key :)
|
|
|
|
|
Logged
|
|
|
|
|
danielob
|
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/1658Thanks in advance for any help.
|
|
|
|
|
Logged
|
|
|
|
|
danielob
|
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
There is no time.
|
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
|
|
|
« 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.
|
|
|
|