[Interest] First timer iOS woes

Nuno Santos nunosantos at imaginando.pt
Thu May 28 00:46:46 CEST 2015


Daniel,

From the log:

May 28 00:37:18 ml95487 org.qt-project.qt-creator.iosTool[49361] <Error>: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x7fc35a6231a0 {Error=PackagePatchFailed, ErrorDescription=Could not hardlink copy /Users/user/Library/Developer/CoreSimulator/Devices/29C216EF-4FE9-4AEF-8043-959E71D44ECC/data/Containers/Bundle/Application/34F0EE67-F2EA-4DF2-90C2-BC1B9D9A8F0A/myapp.app to /Users/user/Library/Developer/CoreSimulator/Devices/29C216EF-4FE9-4AEF-8043-959E71D44ECC/data/Library/Caches/com.apple.mobile.installd.staging/temp.qWihZX/extracted/Payload/myapp.app

See if this helps:

http://stackoverflow.com/questions/27167020/ios-simulator-could-not-hardlink-copy-wrong-path-in-my-filesystem <http://stackoverflow.com/questions/27167020/ios-simulator-could-not-hardlink-copy-wrong-path-in-my-filesystem>

Nuno Santos
Founder / CEO / CTO
www.imaginando.pt
+351 91 621 69 62

> On 27 May 2015, at 23:43, Daniel França <daniel.franca at gmail.com> wrote:
> 
> Hi Nuno, thanks for the quick reply.
> >> It seems you are using a device with 6.3. 
> Sorry, I mistyped, it's IOS 8.3 :) 
> 
> I'm not sure if it helps but the log error is this one:
> http://pastebin.com/fkJJAMhq <http://pastebin.com/fkJJAMhq>
> 
> If I could run it on the device would be great, but at the moment it seems that it's closer to run on the simulator.
> 
> I tried to google this message but couldn't see anything that could help me, but I'll have a look at the link you sent, thanks :)
> 
> Best,
> Daniel
> 
> Em qui, 28 de mai de 2015 às 00:32, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> escreveu:
> It is hard to tell. I had already issues for having the latest version of iOS 8 and not the latest version of Xcode.
> 
> I don’t use simulator from QtCreator, for development I use the desktop. I only test my apps on real devices.
> 
> It seems you are using a device with 6.3. Can’t you test with a more recent device? Who knows the problem is related with the iOS version of the device?
> 
> I have two devices, an iPhone 4s and an iPad 2 and they are both running iOS 8.3, however I deploy apps targeting iOS 6.
> 
> Not having a single word target name also caused me this kind of problems.
> 
> Have you tried google the error code? "AMDeviceInstallApplication returned -402653081” 
> 
> Not sure, but seems that -402653081 is error 0xe8000067. See if this related:
> 
> http://forums.xamarin.com/discussion/32191/unable-to-install-unified-64-bit-converted-code-on-to-an-ipad-1-ios-5-1-1 <http://forums.xamarin.com/discussion/32191/unable-to-install-unified-64-bit-converted-code-on-to-an-ipad-1-ios-5-1-1>
> 
> Regards,
> 
> Nuno Santos
> Founder / CEO / CTO
> www.imaginando.pt <http://www.imaginando.pt/>
> +351 91 621 69 62
> 
>> On 27 May 2015, at 23:21, Daniel França <daniel.franca at gmail.com <mailto:daniel.franca at gmail.com>> wrote:
>> 
>> Thanks Nuno,
>> After found out that XCode 6.2 doesn't work with IOS 6.3 I upgraded my OSX/XCode.
>> A simple dummy application I created on XCode works fine, both on the simulator and in the device.... but Qt keeps failing.
>> 
>> First I to got an error saying that iphone-compiler was not compatible... so I downloaded the free Qt trial of enterprise edition.
>> 
>> Now, at least, I see the device with a green light on it, but I get an error if I try to deploy both to device or simulator.
>> 
>> The error trying to deploy/run to the simulator:
>> Session could not be started: The operation couldn’t be completed. (LaunchServicesError error 0.)Run ended.
>> 
>> The simulator runs fine, but without any application that I made.
>> 
>> and if I try to run on the device I get this error:
>> 
>> ** BUILD SUCCEEDED **
>> 
>> 00:15:17: The process "/usr/bin/make" exited normally.
>> 00:15:26: TransferAppSession(05d18047bac1b57a77081395686822ac451a0eee, /Users/xxx/workspace/Qt/builds/myapp-iphoneos_clang_Qt_5_4_1_for_iOS-Debug/Debug-iphoneos/myapp.app)InstallAppSession(/Users/xxx/workspace/Qt/builds/myapp-iphoneos_clang_Qt_5_4_1_for_iOS-Debug/Debug-iphoneos/myapp.app,05d18047bac1b57a77081395686822ac451a0eee) failed, AMDeviceInstallApplication returned -402653081
>> 
>> Error while building/deploying project myapp (kit: iphoneos-clang Qt 5.4.1 for iOS)
>> When executing step "Deploy to IOS"
>> 
>> I've a lot of different provisionning profiles on my XCode. (Dev/Distribution with wild card)
>> Can't see what else could be wrong.
>> 
>> Any ideas what I should do next?
>> 
>> Best,
>> Daniel
>> 
>> Em seg, 25 de mai de 2015 às 23:47, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> escreveu:
>> Daniel,
>> 
>> What I would do is to first ensure that I could run on my device an app launched from Xcode.
>> 
>> Usually Xcode allows a device for development on the devices Window. You need to choose your device at the left side. If the device is not ready for development, a button usually appears. 
>> 
>> Xcode can sometimes be tricky but I think you will solve that in no time.
>> 
>> Regards,
>> 
>> Nuno
>> 
>>> On 25/05/2015, at 22:16, Daniel França <daniel.franca at gmail.com <mailto:daniel.franca at gmail.com>> wrote:
>>> 
>>> Hi guys,
>>> I'm using the same thread because I've a similar problem.
>>> I'm trying my first IOS development with Qt, and I ended up with some similar issues.
>>> 
>>> First, as noticed before, the Qt documentation is outdated, there's nothing related to device in the organizer window.
>>> I opened the devices window, but I see (mostly of the time) my device with a warning icon next to it, but no additional information.
>>> I requested the required certificates for development (at least I suppose), now clicking on my accounts in XCode I can see 2 signing identities (IOS Development and IOS Distribution) and 1 Provision Profile, what I thought should be enough for development.
>>> 
>>> But I still don't see any option "Use for development" or similar in the "Devices" window of XCode, I don't know if it's in somewhere else or I'm missing something.
>>> 
>>> Then I try to set Qt to use the device, but I keep seeing a red "error" icon next to IOS kits, the device current state is "Connected", but I see a yellow circle icon, so I suppose there's some step missing, but, again, no additional info.
>>> Even when I change the device to IOS Simulator (which is in "Ready to use" state) I can't run my application... well, I can build but when I try to run I get a dialog box asking for the executable path.
>>> 
>>> When I go to the "Run" tab of the Project I see the Deployment options disabled and the Run section has only "Custom Executable" available.
>>> 
>>> Anyone has any idea about how I solve those issues and run my app on my device?
>>> 
>>> Best,
>>> Daniel
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Em qui, 2 de abr de 2015 às 19:42, Jason H <jhihn at gmx.com <mailto:jhihn at gmx.com>> escreveu:
>>> BTW: Chrome is reporting CONNECTION_REFUSED
>>> 
>>> 
>>> > Sent: Thursday, April 02, 2015 at 12:26 PM
>>> > From: "Jason H" <jhihn at gmx.com <mailto:jhihn at gmx.com>>
>>> > To: "Harri Pasanen" <harri at mpaja.com <mailto:harri at mpaja.com>>
>>> > Cc: interest at qt-project.org <mailto:interest at qt-project.org>
>>> > Subject: Re: [Interest] First timer iOS woes
>>> >
>>> > It's all a mess. I can't find anything because all the links go to qt-project, and there is no redirection.
>>> > Can we get the server put back up until things will actually work?
>>> >
>>> > > Sent: Thursday, April 02, 2015 at 11:57 AM
>>> > > From: "Harri Pasanen" <harri at mpaja.com <mailto:harri at mpaja.com>>
>>> > > To: interest at qt-project.org <mailto:interest at qt-project.org>
>>> > > Subject: Re: [Interest] First timer iOS woes
>>> > >
>>> > > Well, it was not responding when I wrote my mail, but now seems to back
>>> > > for me too.
>>> > >
>>> > > On 02/04/2015 17:47, Thiago Macieira wrote:
>>> > > > On Thursday 02 April 2015 17:06:49 Harri Pasanen wrote:
>>> > > >> There was some Qt forum post that collected helpful tips, but now the
>>> > > >> qt-project.org <http://qt-project.org/> seems down?
>>> > > > It's not down. It should redirect to the new forum on qt.io <http://qt.io/>.
>>> > >
>>> > > _______________________________________________
>>> > > Interest mailing list
>>> > > Interest at qt-project.org <mailto:Interest at qt-project.org>
>>> > > http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>>> > >
>>> > _______________________________________________
>>> > Interest mailing list
>>> > Interest at qt-project.org <mailto:Interest at qt-project.org>
>>> > http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>>> >
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150527/a7ac74bd/attachment.html>


More information about the Interest mailing list