Converting a xcodeproj from mac to iPhone
I have a bare bones xcodeproj with just a main function and 1 target that links in the foundation framework. Is it possible to convert this into an iPhone xcodeproj? In other words is this enough or you ne开发者_StackOverflowed to set up other files such as .plist?
Anyhow you should create new iPhone project, and add your source files into it. There is no possibility to automatically convert it.
You can try changing the Base SDK from Mac OS X to iPhone.
If you did most code would not be recognised because UIKit
is different to AppKit
if you are quite fluent with both then think about copy paste all files import them into new iOS project you will get lots of errors depending on how big your project is, then you will go on and just replace the errors with the alternatives with the AppKit code. I have done this before and it is a long process.
There is probably a lot easier way to do this but that project was important for me so I just did it.
精彩评论