Error building the application iOS using QtCreator - ios

Good day.
I'm trying to use Qt to develop an application for iOS.
I using macOS Mojave 10.14.5 and xCode 10.2.1 (installing from the AppStore).
Qt Creator - version 4.7.2 & qt - version 5.11.2 (also i tryed use Qt Creator - version 4.9.1 & qt - version 5.12.3). I create simple application "Qt Widget", and trying build his. I get the only error:
error: [xcodebuild-debug-simulator] Error 64
I inspect my kits and virtual devices, but they configured correctly:
Also, I can start any virtual device and it loading successful:
Why appears this error? Thank.
P.S. sorry, possibly my English language not quite correctly.
P. S. S. :I install macOS on VMware Workstation 15.
UPD1:
I created simple app from Xcode, and app is running successful.

I compile app in Qt Creator, but I run app from xcode, and app started successful. There were complaints about Bundle version
and Bundle version string short, I corrected them in the file Info.plist.

Related

Library not found for -lDJIWidget

I am attempting to run the sample developer dji application for the iOS platform via Xcode version 13.2.1. Upon building the application for the ObjectiveC and Swift sample code, I get an error indicating "Library not found for -lDJIWidget".
mac os: 12.2.1
I am a new macOS user, and this is my first time learning to build an iOS application for DJI. How can I resolve this error?
Trouble shooting steps taken
ensure cocoapods is installed for both sample codes (objectiveC and swift code)
use the <Project>.xcworkspace file for setting the bundle identifier and app key
Connect your ios device to your computer and run the build off of it.

Project ERROR: This mkspec requires Xcode 4.3 or later

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.

Visual Studio 2015 hangs on deploying cordova application

I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version.
I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device.
I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there at the end of the build into the folder ...\Documents\Visual Studio 2015\Projects\BlankCordovaApp1\BlankCordovaApp1\bin\iOS\Debug and if i launch that it will correctly install into iTunes and the iPad itself.
The problem is that the build action with Configuration "iOS" and "Local Device" with the iPad connected to the windows 7 PC will hang indefinitely after copying back said .ipa file after writing this line into the Build Output:
2>------ Deploy started: Project: BlankCordovaApp1, Configuration: Debug iOS ------
No matter how much time i wait it wont start the debug session even if i authorized the pc onto the iPad and have my web Inspector turned on onto the safari options. At this point i have to interrupt the build to be able to work again.
What really gets me is that if i connect the iPad to the MAC machine and build with "Remote Device" option the build works fine and i can debug remotely from my windows pc, unfortunately working like that isn't an option since the Apple machine isn't in the same room of my developing machine.
Any insight about this issue would be really appreciate, thanks in advance.
You are using a recent version of node and thus will also need to use a recent version of Cordova.
Specifically, you need to use Cordova 5.3.3 to be able to use Node.js 4.x.x+. The hang you are experiencing is exactly why. It's an incompatibility with a down stream node module and Node 4.x.x. You can downgrade to Node 0.12.x or upgrade your Cordova project to 5.3.3.
http://cordova.apache.org/news/2015/09/22/tools-release.html
Note that Node 5.x.x is only supported in Cordova 5.4.1.
This should be addressed in the latest VS Tools for Cordova Update 6. Deploying to local device is now available.
Take a look at http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html.

Options for iOS 4.2.1 Development in 2015

I have an old 2G iPod Touch for which I'd like to develop a very simple application. I managed to install Xcode 3.2.5 (the first to include the 4.2 SDK) onto my Mac that runs 10.10.4, but it says it isn't compatible when I run it. Next I tried Xcode 4.4.1 (the most recent that can target iOS 4.2), but it also fails to run. So, I'm thinking that Apples tools might be a lost cause when it comes to development for 4.2.1 if I'm not willing to downgrade my Mac to an earlier OSX version.
Do I have any other options for developing an iOS 4.2.1 app using one or more of OSX 10.10.4, Windows 10, and Ubuntu 14.04? Are options like Xamarin more flexible when it comes to the iOS versions they can target? Thanks in advance for any suggestions.

Dreamweaver + PhoneGap + Xcode App build nightmare

The issue is that I cannot now successfully build my Dreamweaver + PhoneGap App in Xcode for release in the iTunes App Store.
Background - I have been building an app using Dreamweaver and the built-in PhoneGap. To start with everything was working, including the emulator which started via Dreamweaver and the Xcode build. I have an early version of the app running on my iPhone right now with no problem.
After installing Lion on release, I started to encounter problems in that the App would not start in the emulator straight from Dreamweaver, but produced a fail message. However it did make an App bundle which could then be opened from Xcode itself. That was fine, but unfortunately now the App will not build or run at all in the emulator or my 'phone, which seems to stem from me doing a Clean in Xcode which I haven't done for a while. Very frustrating as it has been 3 months work and I was just about to release it on iTunes.I would be really grateful for ideas - the full buildlog.log is here http://bit.ly/tbYzVU
You may notice in your build log the following error on Line 39, which appears many times in your log:
ERROR: The requested SDK ("4.3") is not installed.
The version of PhoneGap you're using in Dreamweaver is looking for the iOS 4.3 Simulator at:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
However, when upgrading to Mac OS X 10.7 "Lion" and presumably installing Xcode 4.2 from the AppStore, you probably only have the iOS 5 SDK. From the Xcode release notes:
What's New in Version 4.2.1
Features and enhancements in previous Xcode updates:
Xcode 4.2 includes SDKs for Mac OS X 10.7 Lion and iOS 5.
To verify what SDKs (Software Developer Kits) you have on your computer, open the following directory in the Finder:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
It's likely that all you need to do is adjust which SDK Dreamweaver is targeting when building or emulating your app.
In your situation, you'll want to change your Site/App's SDK from iOS 4 to iOS 5.
From the Dreamweaver Help section for Packaging Web Applications, refer to Creating an Application Package (Mac OS):
Select Site > Mobile Applications > Configure Application Framework
Confirm iOS Developer Tools Path is configured to /Developer
Select Site > Mobile Applications > Application Settings
Under Select Target OS Version, for "iPhone/iPod Touch/iPad, choose 5.0
Build your App using Site > Mobile Applications > Emulate and Build

Resources