I have a view-based iOS cocoa touch application built and is running on iPhone.Now I need to convert it as an universal application in order to run that on both iPhone and iPad.I dont know how to change a view-based as an universal build application.How can I convert it?
Open the project in Xcode. Under the Targets menu (in Groups & Files), right click on your app. Select "Upgrade current target for iPad...".
Related
We get the error below when we try to build an app that uses our Obj-C lib.
What do we set in the lib project to prevent this error?
Ultimately, app must run on iPhone (ios 12 or higher), but we want it to first run on simulator.
Building for iOS Simulator, but the linked library 'libmobile_sys_hub_lib.a' was built for iOS.
That means you built the library for iOS. You need to build it for the iOS Simulator. Eg:
xcodebuild -sdk iphonesimulator
You will probably want to distribute separate copies of your library: one for the sim and one for device.
Open Xcode active scheme list (left side of project title bar) and select IOS SIMULATOR
I want to generate an iOS build from Flutter to test in a multiple physical iPhone devices. I'm using macOS. with latest xcode installed, flutter-sdk, dart sdk and Development editor tool using Android Studio. any one has experience with this process. your precious help is strongly needed.
You need to follow these directions there very clear. https://flutter.dev/docs/get-started/install/macos
Make sure you've set everything up to build/compile in a mixed environment.
Next do: In Xcode, open Runner.xcworkspace in your app’s ios folder.
To view your app’s settings, select the Runner project in the Xcode project navigator. Then, in the main view sidebar, select the Runner target.
Select the General tab.
Details found here: https://flutter.dev/docs/deployment/ios
I have a scenario where I have a workspace file in which I have one Cocoa touch framework and one iOS application.
iOS application uses this framework.
I have successfully created framework universal library with help of aggregate target in framework project.
I am successfully able to add the framework (Above mentioned with help of aggregate that runs on simulator, device and archive) in my iOS application project. (I embedded the framework file in my application project).
Now, whenever I do any change in my framework project I build the framework project with aggregate target, this step successfully updates my application project and framework library used in it.
I don't want this step of building framework project every time I do change in it to get changes reflected in application project with framework.
How can I automate the my iOS application project to automatically fetch changes whenever I am running the iOS application?
You can go to Edit Schemes and select build for targets and add you universal target.
And move your universal target above your app target.
I created an app before release of iOS 7 and now i want to upload the next version of my app which can run on iOS7 but looks like iOS 7 UI.
i had same problem and by using this solution everything working fine. so try it out.
open Finder and find your Xcode 4.6.3 package
right-click and select “show package contents”
navigate to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
you’ll find a folder called iPhoneOS6.1.sdk
copy it
Now that we’ve got it, let’s paste it into the very same directory in Xcode 5:
open Finder again and find your Xcode 5 package
right-click and select “show package contents”
navigate to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
you’ll find a folder here called iPhoneOS7.0.sdk (that’s the “latest” at the time of writing)
paste the iPhoneOS6.1.sdk folder here and set basesdk in xcode target setting to ios 6.1.
There are some issue here, you can not use the iOS 6 SDk to submit you update since Apple only allows submission of iOS 7 SDK build. Also you need to use at least Xcode 5.1 to submit.
So you will have to convert you app to use the iOS 7 SDK, which will make it look like iOS 7. You will then need to write you on appearance for the UI controls which you want to have in a iOS 6 look (this will be very difficult to do for all control especially UIPickerViews).
Just make you app look good under iOS 7 and use appearance proxy to make it look good in iOS 6 is probably easier.
I have two projects: One made for the iPad and one for the iPhone. The iPad version is using CoreData and .xib files.
Both project use CocoaPods.
I want to convert each project to a library, make a new universal app, link the two libraries into it and then set the AppDelegate class according to the device.
How can I convert my project to a library ?