Recently i upgraded Xcode from 3.2 to 4.3
My Application using openSSL 1.0.0 and was working fine with Xcode 3.2 , even XYZ.App which is making use of open SSL and built on Xcode 3.2 also working fine with OSX lion 10.7
But when i built the same application over Xcode 4.2 , the log says , it couldn't get certificates from the Authority , in-tunrs it seems to be that open-SSL library has not integrated properly with Xcode 4.3 application development environment,
I tried re-built openSSL but no luck, i am suspecting following,
1 -- In my Xcode 4.3 i could see only two compiler LLVM 4.3 and Apple LVM , i believe open SSL built using GCC 4.2 and on Xcode 3.2 i was using the same so it was working ,
2 -- On Lion should i do any kind of cross compilation for open - SSL with Apple LLVM Compiler , which should be working on the Xcode 4.3 application
Please throw any lights on it.
I fixed it
The problem is,
SSL_CTX_load_verify_locations and SSL_CTX_set_default_verify_paths, the input parameter were not correct,
In 10.6 it was compiling and running, might be SSL would have ignored it, in 10.7 it didn't work,
Now i am giving proper input so working.
Thanks for reading it.
Related
Ive upgraded the version of Xcode to 7 (Release version).
Is it possible to have Xcode 7 and Xcode 6 installed side by side?
I need to support users on the iOS 7.0 platform but for testing I do not have extra devices with me with iOS 7.0 installed. If the answer to the previous question is NO, is there a way to install iOS 7.0 simulators in Xcode 7
Follow up question: If I open a project in Xcode 7 and then open it Xcode 6 will there be any errors in the project files/storyboards?
Yes, you can have multiple copies of Xcode.app installed on the same computer and switch between them. You may run into issues if you try to use both at the same time, but as long as you quit one before using the other, you should be fine.
There is no way to install the iOS 7.0 Simulator with Xcode 7.0. The iOS 7.0 Simulator Runtime is not supported on Yosemite and newer host OS versions, and Xcode 7.0 is only supported on Yosemite and later. You will need to use a Mavericks host OS in order to use the iOS 7.0 Simulator Runtime. If you would be satisfied with the iOS 7.1 Simulator Runtime, that is still supported on Yosemite (but not El Capitan) when using Xcode 6.x (but not Xcode 7.0).
In regards to opening your project in different Xcode versions, there shouldn't be any problems like that.
For your first question i think this link can be help full,please check
Can Xcode 6 and Xcode 5 coexist on the same computer?
I have xCode 6.4 http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg and xCode 7 side by side, just download and install "xCode 2"
Despite the release notes stating this is supported and previous version of Xcode 6 working ok, I have a rather verbose error message when trying to build with 7.1 SDK.
"iOS targets using Swift cannot be built against an SDK older than 8.0, but the effective SDK is 7.1."
Has anyone else seen this?
I just had this issue, but with the app store build of Xcode 6.0.1 (6A317).
The issue was that I had copied old SDK's (7.0, 7.1) into the Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs directory. This was causing Xcode to use the wrong SDK for building.
Deleting them solved this problem for me. That'll teach me for mucking around with Xcode.
Apple has now announced Xcode 6 (and iOS 8). I currently have Mavericks on my Mac (and am not planning to upgrade to Yosemite yet), and am wondering if I can download the Xcode 6 dev preview, while still maintaining my current version of Xcode 5. This is so that I can use the new Xcode 6 features, while still being able to work on, and upload, my current applications. Is that possible?
Also, if I update my phone to iOS 8 Beta, will I be able to run apps from Xcode 5, or only Xcode 6?
Answers would be hugely appreciated! Thanks :)
Even I use Mavericks, I installed Xcode 6. In order to be sure about my maintenance projects, I've also downloaded Xcode5.1.1 from Apple developer portal, copied it into my Desktop, renamed it as XCode 5.1.1 and then moved it to my applications folder.
I have both versions at the moment without any issues and can also select the version of Xcode while opening an existing Xcode project by using open with menu feature.
I hope this helps...
Xcode 6 Beta Release Notes
Xcode 6 Beta requires a Mac running OS X version 10.9.3 (or later) or 10.10.
I think its possible that you can do all things you was able to do with Xcode 5 but I will tell you when my xcode 6 download is finished.
You may install XCode 6 Beta on OS X 10.9.3, and I think that you'll need XCode 6 in order to run iOS8 apps.
One thing that you didn't ask, but that you should keep in mind (as you mentioned your phone):
Devices updated to iOS 8 beta can not be restored to earlier versions
of iOS.
i've installed Xcode6 in Mavericks and iOS simulator crash with message : Unable to boot the iOS Simulator. :-(
You can download the preview of Xcode 6 and use your existing installed Xcode 5 side by side without affecting anything you're doing. Just make sure if you click on a project file that you open it in the correct version of Xcode.
Download xcode dmg file from Apple's developer site. Install it in a different location other than the Applications folder. There you go !!
I'm developing an iOS App which targets iOS 5.1+. I'm using XCode 4.5 on Mac OS X 10.8 and I do own an iPhone 4 with iOS 5.1.1. The app needs OpenCV, which I have successfully built from sources according to a tutorial in the OpenCV-Documentation.
Here is what happens:
When I start up the application I get an exception:
dyld: Symbol not found: _objc_setProperty_nonatomic
The error does not occur with iOS 6, but with iOS 5.1 in both the simulator and on a real device.
What is that? Is it related to OpenCV? Does it have to do something with incompatibilities between iOS / the iPhone / XCode??
EDIT: My development target is set to 5.1. The Base SDK is 6.0. I copied an SDK für 4.3 (which is the lowest version that XCode 4.5 will support) from another Mac and set development target as well as the base SDK to 4.3. Did not work either (it did not even build then).
I did not an update, the project has been started from scratch using XCode 4.5 initially.
Meanwhile I also found a tip to use gnulibc++ instead of libc++, but that also resulted in that the project did not build at all.
I built a test project and found the same issue. OpenCV is being built with a deployment target of ios6, this is a known issue, and a fix is pending review, see https://github.com/Itseez/opencv/pull/70
Hey I have problem compiling code in xcode 3.2
I have a code where it's using iOS 4's API, "MFMessageComposeViewController"
It would compile fine with 4.0 under xcode, but when when i try to compile with 3.2 I get error because of "MFMessageComposeViewController".
It seems that xcode can't find keyword for MFMessageComposeViewController.
In order to be able to compile for 4.0 and 3.2 and still use MFMessageComposeViewController, what should i do?
thank you!
I can't determine whether the version numbers you are referring to are to do with the iPhone OS version of the Xcode version.
The documentation for MFMessageComposeViewController shows that it is only available in iOS 4.0 and later, so you can't use it at all in earlier versions of iPhone OS.
If you are having trouble with Xcode version 4, you cannot ask for help here because it is under a non-disclosure agreement, as far as I am aware. If you are using Xcode 3.2 to compile for source code targeting iOS 4.0, ensure that your project settings are correct and are set to use the iOS 4.0 SDK.