Closed Jean-PhilippeDESCAMPS closed 7 years ago
Continuing from our conversation on Twitter:
@Jean-PhilippeDESCAMPS: I’m not able to run a template project. I’ve just opened a issue on Github, can you please help me ?
@SquaredTiki: The current templates may not build correctly and will be fixed in the next update. Please could you try importing a project?
@Jean-PhilippeDESCAMPS: I’ve got the same error. I update my comment on Github. It’s a Xcode 8 new signature manager.
Please could you share the logs from the project you've imported? If those above are from the imported project then please ensure that you set the “Use Legacy Swift Language Version” build setting in Xcode as well as choosing a development team for the project. The project won't run on device even from Xcode until those settings are corrected.
I put "Use Legacy Swift Language Version" to YES and reimport in Dringend
Here the log :
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> did accept new connection from socket
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> did read header from socket
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Socket defined header dictionary as {
buildOptions = {
destination = "generic/platform=iOS";
scheme = MrBboy45;
};
buildType = 1;
dataLength = 10566;
exportOptions = {
exportFormat = IPA;
};
}
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Writing to socket that transmission was received
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 32
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 0
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> did read project data from socket
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: Number of operations: 1, operations array count: 1, maximum concurrent: 4
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: ***-----|Dispatch operation|-----***
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Project zip file successfully saved to: /Users/jean-philippedescamps/Library/Application Support/The Constructor/08DF0C7A-9B51-44ED-8371-D18DFADFAABD/ZippedProject.zip
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Archiving and exporting project located in directory: /Users/jean-philippedescamps/Library/Application Support/The Constructor/08DF0C7A-9B51-44ED-8371-D18DFADFAABD
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Archive & export: Beginning archive
Nov 12 16:31:55 AirdeJePhilippe The Constructor[491]: <Builder> Building project
Nov 12 16:31:56 AirdeJePhilippe com.apple.usbmuxd[97]: LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,93bb0818
Nov 12 16:31:56 AirdeJePhilippe com.apple.usbmuxd[97]: _SendAttachNotification Device 20:a2:e4:0b:2b:ab@fe80::22a2:e4ff:fe0b:2bab._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.
Nov 12 16:31:56 AirdeJePhilippe com.apple.usbmuxd[97]: _SendAttachNotification Device 54:72:4f:04:9b:fd@fe80::5672:4fff:fe04:9bfd._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> Archive & export: Archive complete, success? Nope
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> Archive output: User defaults from command line:
IDEArchivePathOverride = /Users/jean-philippedescamps/Library/Application Support/The Constructor/08DF0C7A-9B51-44ED-8371-D18DFADFAABD/Archive.xcarchive
Build settings from command line:
CODE_SIGN_IDENTITY = "iPhone Developer: Jean-Philippe DESCAMPS (EQ2LYHF55X)"
PROVISIONING_PROFILE = 6b909154-e234-41af-a0a1-20eab26b1eaa
=== BUILD TARGET MrBboy45 OF PROJECT MrBboy45 WITH CONFIGURATION Release ===
Check dependencies
MrBboy45 has conflicting provisioning settings. MrBboy45 is automatically signed, but provisioning profile iOS Team Provisioning Profile: * has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> Archive and export complete, exported to: (null)
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: Return--> Number of operations: 0, operations array count: 0, maximum concurrent: 4
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> Deleting project working directory (/Users/jean-philippedescamps/Library/Application Support/The Constructor/08DF0C7A-9B51-44ED-8371-D18DFADFAABD) on build completion
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 433
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 0
Nov 12 16:31:56 AirdeJePhilippe The Constructor[491]: <Builder> did disconnect from socket
I try to resolve the signing issue. But always an error. Is it difficult to you to send me a The Constructor app with automatic signing ? Thanks for your help
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> did accept new connection from socket
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> did read header from socket
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Socket defined header dictionary as {
buildOptions = {
destination = "generic/platform=iOS";
scheme = MrBboy45;
};
buildType = 1;
dataLength = 10718;
exportOptions = {
exportFormat = IPA;
};
}
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Writing to socket that transmission was received
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 32
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 0
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> did read project data from socket
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: Number of operations: 1, operations array count: 1, maximum concurrent: 4
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: ***-----|Dispatch operation|-----***
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Project zip file successfully saved to: /Users/jean-philippedescamps/Library/Application Support/The Constructor/35EC782D-03EF-4254-AE01-BA89C9F3FD1B/ZippedProject.zip
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Archiving and exporting project located in directory: /Users/jean-philippedescamps/Library/Application Support/The Constructor/35EC782D-03EF-4254-AE01-BA89C9F3FD1B
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Archive & export: Beginning archive
Nov 12 17:20:03 AirdeJePhilippe The Constructor[491]: <Builder> Building project
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> Archive & export: Archive complete, success? Nope
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> Archive output: User defaults from command line:
IDEArchivePathOverride = /Users/jean-philippedescamps/Library/Application Support/The Constructor/35EC782D-03EF-4254-AE01-BA89C9F3FD1B/Archive.xcarchive
Build settings from command line:
CODE_SIGN_IDENTITY = "iPhone Distribution: Jean-Philippe DESCAMPS (89PY65TKBW)"
PROVISIONING_PROFILE = 9b7e4270-f491-4f1b-9399-c91f4446c60d
=== BUILD TARGET MrBboy45 OF PROJECT MrBboy45 WITH CONFIGURATION Release ===
Check dependencies
No certificate matching '"iPhone Distribution: Jean-Philippe DESCAMPS (89PY65TKBW)"' for team '89PY65TKBW': Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> Archive and export complete, exported to: (null)
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: Return--> Number of operations: 0, operations array count: 0, maximum concurrent: 4
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> Deleting project working directory (/Users/jean-philippedescamps/Library/Application Support/The Constructor/35EC782D-03EF-4254-AE01-BA89C9F3FD1B) on build completion
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 433
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> did send data with tag 0
Nov 12 17:20:04 AirdeJePhilippe The Constructor[491]: <Builder> did disconnect from socket
Please could you re-enable automatic code signing in Xcode and then try using this beta version of The Constructor and doing the following to switch to automatic code signing:
it works ! But now, the app don't install on my iPhone... When I compile from my Xcode it works fine.
Any Idea ?
Thanks for your help.
Please could you check you have a Dropbox account linked? This is necessary in order to upload the plist
for installation to a secure location. Unfortunately there is a bug at the moment where if you haven’t linked Dropbox then app installation will silently fail.
I've imported my project from Dropbox, so I think is well linked, isn't it ? I try to unlink and link my dropbox account again. But always the same results. App load ans fail installing.
It's because, I think, the plist ipa url is : http://localhost:55993/ExportedApp.ipa ?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>http://localhost:55993/ExportedApp.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>fr.jeanphilippedescamps.youtuber</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>Dringend App</string>
</dict>
</dict>
</array>
</dict>
</plist>
That's all correct, the IPA is hosted on the device. When you say that it doesn't install, do you mean you don't see an install prompt or there is an error when installing?
There is an error, I see the download of the app and when is "finish" install, it prompt "can't install Dringend App" message.
Such errors are normally caused by provisioning related issues. First thing to check is that the provisioning profile you selected in Xcode includes your device on it. If so then please could you plug in your device and get the logs from the device as Dringend tries to install the app?
the provisioning profile I selected in Xcode include my device.
But I have no logs when trying to install. How can I get "all" logs from my device ?
To get the logs from the device, please could you attach your iPhone to your Mac then open Xcode. From there, please click on Window > Devices, then select your device in the sidebar and click the button in the bottom left of the right pane to show the console.
At this point, please try to run the app from Dringend and after you see the "Unable to Download App" message, save/copy the logs from the console.
Here the error log from my device.
Nov 13 15:04:33 iPhone-6-Plus-de-Jean-Philippe installd(libmis.dylib)[5544] <Notice>: entitlement '<private>' has value not permitted by provisioning profile '<private>'
Nov 13 15:04:33 iPhone-6-Plus-de-Jean-Philippe installd(libmis.dylib)[5544] <Notice>: entitlement '<private>' has value not permitted by provisioning profile '<private>'
Nov 13 15:04:33 iPhone-6-Plus-de-Jean-Philippe installd(MobileSystemServices)[5544] <Notice>: 0x16e0c7000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 147: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.oivczy/extracted/Payload/MrBboy45.app : 0xe8008016 (The executable was signed with invalid entitlements.)
Nov 13 15:04:33 iPhone-6-Plus-de-Jean-Philippe installd(MobileSystemServices)[5544] <Notice>: 0x16e0c7000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Nov 13 15:04:33 iPhone-6-Plus-de-Jean-Philippe SpringBoard(FrontBoard)[60] <Info>: Removing app termination assertion for pid:5544 - <FBApplicationTerminationAssertion: 0x170447b60; serial: 107; reason: critical; bundleID: fr.jeanphilippedescamps.youtuber>
What provisioning profile are you using? Please could you make sure that the profile you selected for use in Xcode is a development profile and not an ad-hoc or App Store profile.
It's works, I don't check in automatic and I've selected a development profile. Great job ! Thanks a lot !
Glad to hear it! 😄
Hi there,
I can't build and run a template project. In the console app I've got :
Can you please help me ? Thanks Cheers
J.