Project ERROR: This mkspec requires Xcode 4.3 or later - ios

Scenario:
I have updated to Qt 5.9.6 and I have Xcode 10.0 running on High Sierra.
I have a Qt App that builds for OSX and iOS. And it builds and runs all well with Qt 5.9.4.
Now, I want to update to 5.9.6 for a reason. When I try to build for iOS using Qt 5.9.6, I get the following error
Project ERROR: This mkspec requires Xcode 4.3 or later
Question:
Is there a way to get around this issue?
Note that the OSX build using Qt 5.9.6 just works fine. I have QMAKE_IOS_DEPLOYMENT_TARGET set to 10.0 for iOS case
PS:
I also deleted the .qmake.stash and the .pro.user file from the root directory and restarted QtCreator to try build from a a fresh start. But still get the same issue!

This is bug in Qt, use Qt 5.9.7 where this bug is fixed.

Related

Can't launch iOS Simulator from Visual Studio 2015 after Mac Update from 10.0 to 10.1 [duplicate]

I am trying to run the sample example for Xamarin.Forms. I have made the sample application. I have added the required packages in the project.But for some reason I am getting the the error
Failed to launch the simulator: Could not load the framework 'libswiftCore.dylib' (path:
/Applications/Xcode8beta.app/Contents/Frameworks/libswiftCore.dylib):
not found. error MT1008: Failed to launch the simulator: Could not
load the framework 'libswiftCore.dylib' (path:
/Applications/Xcode8beta.app/Contents/Frameworks/libswiftCore.dylib):
not found.
I am using XCode 8 beta on my Mac
Xamarin studio 6.1.1
I have set the paths for the SDK correctly in the Xamarin preferences and it is saying that the SDK is available at the path that has been mentioned.
Whenever I try to run the application it compiles well but just before the simulator is expected to start it shows the above message.
How should I resolve this issue ?
You need to update Xamarin Studio (and/or Visual Studio). This is the release that fixes it. Here is the post about the issue with the corresponding bugs that match your exactly.
Summary, Xcode 8.1 changed the location of the library so it caused Xamarin to error. Xamarin released a hotfix to the stable channel that resolves it.
Try updating to a stable version of Xcode.
From the Xamarin.iOS 10.0 release notes:
The latest features and API requires Xcode 8.0 GM and the bundled iOS, tvOS and watchOS SDKs
Apple Xcode 8.0 requires a Mac running OSX 10.11.5 (El Capitan) or newer
Builds supporting the final release of Xcode 8.1 have just been released, so that is also an option.

'Could not find Developer Disk Image' message from XCode when I run the built PhoneGap app

I made my first app using PhoneGap, and have built it for iOS. I have Java and Ant properly installed and the XCode project has been apparently created. I open it in XCode and I can build it as well, from XCode. When I run it it says that error message? What seems to be problem here? Thanks guys!
Your xCode version is too old. Probably you updated the phone's OS to a newer version. Usually for each version of iOS there is a version of xCode, and if the OS is newer than xCode you get this error.

XDK (2807) ios build fails when adding admobpro plugin

when adding admobpro version 2.10.0(cordova-plugin-admobpro & cordova-plugin-admob) or admob plugin by appfeel, my ios build fails.
I h've tried a blank cordova project, and just added in plugin management the plugins one at the time. both fail.
here you can find the error log, provided by intel XDK.
https://gist.github.com/arjankuijpers/d3323f43e50ba0499c86
one of the lines read: The following build commands failed:
ios target: 6 (I have also tried 7)
android build succeed.
thank you
It was an Xcode problem, because XDK used Xcode 6 instead of the new relied on version 7.
This is solved by Intel updating there build system.
a lot of plugins are only working with Xcode 7.
Be aware that ARM versions can make a difference.

apple LLVM 6.1 error Could not read profile: No such file or directory (after upgrade to XCode 6.4/7.0 beta2)

I'm trying to compile a Cordova project.
The project was working fine with XCode 6.3 and iOS 8.3 phone.
We upgraded the phone to 8.4 then everything stopped working.
I tried XCode 6.4 - got this error.
I tried XCode 7.0 beta 2 - got this error.
Search on google shows that many have this problem with no solution.
I tried to clean the code, project->build for->generate optimization profile, restart the computer, etc. Noting help.
It was a Cordova's problem: To fix it:
Remove both platform and plugins folders.
cordova platform add ios
Add all your plugins again.
Don't forget to select your profile on the project's first tab.
Same steps as when you trying to remove a plugin (never working for iOS).

iPhone running iOS 8.3 shows up as ineligible in Xcode 6.2

Current setup:
iPhone 6+ updated to iOS 8.2
iMac running Mavericks (10.9) with Xcode 6.2
Deployment target set to 8.2
When I connect the iPhone, it shows up as ineligible.
Also, it shows this warning:
I've tried:
to reboot both iPhone & iMac -> Not solved
to manually select iPhone from: Product > Destination > Ineligible Devices
Many other answers in this question, but all for problems using Xcode 6.3, not 6.2.
I know I can solve this:
upgrading to Yosemite & installing Xcode 6.3
using an iPhone running 8.2
But is there any possibility that mounting the Xcode 6.3 DMG and copying some libs / symlinking something it will work?
Just copy the folder DeviceSupport/8.3 from Xcode 6.3 to Xcode 6.2.
Details:
Download Xcode 6.2 and 6.3, install as /Applications/Xcode_6.2.app and /Applications/Xcode_6.3.app (or similar names)
In both installations, there's a folder Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
In Xcode 6.2, this folder contains packages for iOS 8.2 and many lower versions, but not for 8.3.
In Xcode 6.3, this folder also contains a package for iOS 8.3. In my case, the folder is called 8.3 (12F69)
Copy the iOS 8.3 package from Xcode 6.3 to Xcode 6.2 (this command is one line, of course):
cp -r '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Or even better, create a link:
ln -s '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Now restart Xcode 6.2 and connect your device through USB. Xcode should allow you to test apps on it.
Diego Freniche's solution (copying the whole iPhoneOS.platform folder) was a great help, but when I ran my app from Xcode 6.2, it looked slightly different than it did when I deployed an ipa file on the phone (buttons in wrong positions, status bar display wrong). I guess Xcode got confused and built the app as if it was targeted at a different iOS version.
With this solution (only copy one folder in DeviceSupport), it looks like the app works exactly as it is supposed to. I'll let you know if I encounter problems, but I haven't seen any so far.
A little progress, but this is a WIP.
Looks like in Yosemite Xcode 6.2 works correctly with 8.3 devices. Need to test on Mavericks
Testing with Xcode 6.2 in Yosemite (need to test also in Mavericks, any feedback would be appreciated)
Go to your Xcode 6.2 folder and rename
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform
into
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform.old
Mount your Xcode 6.3 DMG, install it
Copy from Xcode 6.3 this folder:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
inside your Xcode 6.2 folder.
you'll probably find an error telling you rootuser does not own the simulator / OS Platform folder. To solve that just open Terminal, then:
$ cd /Applications/Xcode6.2.app/Contents/Developer/Platforms
$ sudo chown -R root iPhoneSimulator.platform/
$ sudo chown -R root iPhoneOS.platform/
now you can run your app inside your iOS 8.3 device from Xcode 6.2 but you have no simulators in the target tdestination menu
UPDATE: I'm getting weird errors while ibtool tries to compile the storyboards:
/Users/dfreniche/Desktop/Test/Test/Base.lproj/Main.storyboard: The operation couldn’t be completed. (com.apple.InterfaceBuilder error 2001.)
So finally give up and update to Yosemite. If there's any new info on this, please share.
Had the same problem with connecting iOS8.3 devices to Xcode 6.2 on Mavericks. Ok on a machine at work running Xcode 6.4 on Yosemite. Software update on the Mavericks machine doesn't offer any higher version. Looking at the specs of Xcode 6.4 (and presumably 6.3 of the original question) says it requires OS X 10.10 (i.e. Yosemite). So, whether or not you can hack around it, the behaviour you/we are seeing on Mavericks is what Apple intends.
I have the same issue and I don't want to just use the lastest version of XCode for the need of maintaining my old projects. I end up with installing two versions XCode(6.2 and 6.3) to solve this problem. Here is what I did.
Download XCode6.2 install package from apple site
Upgrade the existed XCode6.2 to x6.3
Open my project on XCode6.3 (this time the device can be recognized by XCode, and I think XCode6.3 might have done some updates to your project.)
Close my project, re-install XCode6.2, there will be a prompt saying I have a newer version and if I want to keep both. Click Yes. Then I have two versions of XCode.
After all those steps done, I can finally open my project and use my device in XCode6.2. Hopefully it can help someone.
XCODE 6.3 is out.. It solved my problem.. If you have Yosemite, you can download the 6.4 beta version

Resources