Closed robertiii closed 7 years ago
Sorry to hear that @robertiii! Please could you post a screenshot and some details of the failure?
To be honest I have no clue. All I know is that when I hit the build button, it says zipping, then compiling then build failed. I have tried locally and through a ddns. Neither work.
What error does it show? Would you be able to take a screenshot please?
If it just shows build failed in the navigation bar without any errors, would you be able to check in The Constructor to see if the number next to the eye increases when building?
It does.
On Sep 27, 2016, 2:04 PM -0400, Joshua Garnham notifications@github.com, wrote:
If it just shows build failed in the navigation bar without any errors, would you be able to check in The Constructor to see if the number next to the eye increases?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/SquaredTiki/Dringend-Issues/issues/110#issuecomment-249947177), or mute the thread (https://github.com/notifications/unsubscribe-auth/ALjsOF7uHsR2_S5KpEb40rI20uat0BwQks5quVqTgaJpZM4KHOC7).
Perfect. Please could you open Console.app on your Mac, select system.log (if running Sierra) and share the logs that The Constructor makes during compilation?
Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: Beginning process of port mapping Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: Port forwarding status updated to: In progress Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: -[TCMNATPMPPortMapper stopListeningToExternalIPAddressChanges], socket:0x0 Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: Port mapping did find router Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: ... However this was a red herring and the router does not in fact exist Sep 27 00:01:54 Roberts-MacBook-Pro-2 The Constructor[25782]: Port forwarding status updated to: No Router found Sep 27 00:01:55 Roberts-MacBook-Pro-2 The Constructor[25782]: -[TCMPortMapper decreaseWorkCount:] 1 (null)
That would be the issue then if you are using you Mac's public IP — it seems that your router does not support automatic port forwarding. If you are using your Mac's local/private IP could you share the logs you see during and after starting a build from Dringend? One of such logs you should see if the number next to the eye increases is <Builder> did accept new connection from socket
.
It does the same if done locally
Please could you retrieve the logs from and including <Builder> did accept new connection from socket
?
Here are logs from local
Sep 27 17:49:36 rp_macbook_pro The Constructor[26713]:
Sep 27 17:50:34 rp_macbook_pro The Constructor[26713]:
Thanks very much for getting those for me @robertiii. Would you be able to open up Terminal.app type in xcodebuild
, press enter and then send me the output please? It seems like The Constructor hasn't even been able to initiate building.
Now using Constructor 1.1
/Users/robertpickett/Desktop/BridgewaterApp/Bridgewater App/pinDetails.swift:13:8: error: no such module 'SwiftLocation'
import SwiftLocation
^
** BUILD FAILED **
Could this be the issue causing the failure in Dringend also?
I wouldn't know how is it compiles fine through xcode.
Ok, thanks @robertiii. Could you try running the project from Dringend and sharing the logs you see in Console.app then? Keep an eye out for <Builder> Archive output:
, that's the one that should shed some light.
I dont see a <Builder> Archive output:
lines when I search
Even when building and running from Dringend as opposed to just building?
Yes
If you've updated to Sierra, please could you make sure you are looking at and have selected system.log
in the left panel? That will then show the <Builder> ...
messages that The Constructor outputs.
Here's what I got with the local network.
Oct 1 21:54:23 Roberts-MBP-2 The Constructor[291]:
@robertiii Thanks Robert. Just to confirm, was that when building and running?
Yes
Please could you try again @robertiii, I'm confident that those logs are not from building and running. These are the steps:
system.log
in the side-barIf you are building and running you will see a log that looks like this <Builder> Archiving and exporting project located in directory:
as opposed to <Builder> Building project located in directory:
when just building.
The logs from building and running are much more verbose than when just building and should allow us to see the output from xcodebuild
and exactly why the build is failing.
I'm so very sorry! Thank you for your patience. I promise I'm not as slow as it may seem! I have done it again and here are the results!
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> did accept new connection from socket
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> did read header from socket
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> Socket defined header dictionary as {
buildOptions = {
destination = "generic/platform=iOS";
scheme = "Bridgewater App";
};
buildType = 1;
dataLength = 45889762;
exportOptions = {
exportFormat = IPA;
};
}
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> Writing to socket that transmission was received
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> did send data with tag 32
Oct 4 18:38:36 rp_macbook_pro The Constructor[19868]: <Builder> did send data with tag 0
Oct 4 18:38:54 rp_macbook_pro GoogleSoftwareUpdateAgent[19903]: 2016-10-04 18:38:54.267 GoogleSoftwareUpdateAgent[19903/0x7fffccc973c0] [lvl=2] -[KSAgentApp setupLoggerOutput] Agent settings: <KSAgentSettings:0x10030ada0 bundleID=com.google.Keystone.Agent lastCheck=2016-10-04 20:23:59 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/robertpickett/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration logEverything=0 logBufferSize=2048 alwaysPromptForUpdates=0 productIDToUpdate=(null) lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
Oct 4 18:40:18 rp_macbook_pro The Constructor[19868]: <Builder> did read project data from socket
Oct 4 18:40:18 rp_macbook_pro The Constructor[19868]: Number of operations: 1, operations array count: 1, maximum concurrent: 4
Oct 4 18:40:18 rp_macbook_pro The Constructor[19868]: ***-----|Dispatch operation|-----***
Oct 4 18:40:19 rp_macbook_pro The Constructor[19868]: <Builder> Project zip file successfully saved to: /Users/robertpickett/Library/Application Support/The Constructor/A9DCA14E-DE24-4B6B-B8E7-9E1A62F44182/ZippedProject.zip
Oct 4 18:40:20 rp_macbook_pro The Constructor[19868]: <Builder> Archiving and exporting project located in directory: /Users/robertpickett/Library/Application Support/The Constructor/A9DCA14E-DE24-4B6B-B8E7-9E1A62F44182
Oct 4 18:40:20 rp_macbook_pro The Constructor[19868]: <Builder> Archive & export: Beginning archive
Oct 4 18:40:20 rp_macbook_pro The Constructor[19868]: <Builder> Building project
Oct 4 18:40:24 rp_macbook_pro Console[19884]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Oct 4 18:40:35 rp_macbook_pro com.apple.usbmuxd[19260]: LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,956107f5
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: <Builder> Archive & export: Archive complete, success? Nope
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: <Builder> Archive output: User defaults from command line:
IDEArchivePathOverride = /Users/robertpickett/Library/Application Support/The Constructor/A9DCA14E-DE24-4B6B-B8E7-9E1A62F44182/Archive.xcarchive
Build settings from command line:
CODE_SIGN_IDENTITY = "iPhone Distribution: Martin Barnard (6Z3YNDLRAQ)"
PROVISIONING_PROFILE = a602aab7-55cb-4988-bbd7-473ea4ca5822
=== BUILD TARGET Bridgewater App OF PROJECT Bridgewater App WITH CONFIGURATION Release ===
Check dependencies
The file “Pods-Bridgewater App.release.xcconfig” couldn’t be opened because there is no such file. (/Users/robertpickett/Library/Application Support/The Constructor/A9DCA14E-DE24-4B6B-B8E7-9E1A62F44182/Pods/Target Support Files/Pods-Bridgewater App/Pods-Bridgewater App.release.xcconfig)
Bridgewater App has conflicting provisioning settings. Bridgewater App is automatically signed, but provisioning profile Profile for Drigend 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.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: <Builder> Archive and export complete, exported to: (null)
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: Return--> Number of operations: 0, operations array count: 0, maximum concurrent: 4
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: <Builder> did send data with tag 433
Oct 4 18:40:40 rp_macbook_pro The Constructor[19868]: <Builder> did send data with tag 0
Oct 4 18:40:44 rp_macbook_pro The Constructor[19868]: <Builder> did disconnect from socket
Oct 4 18:41:43 rp_macbook_pro com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.61B593CA-056E-468F-90EA-C2DFCE6D02F7[19919]): Service exited with abnormal code: 1
No worries! Thanks very much Robert! Looks like this is an issue which should be fixed by removing the value for the code signing identity in The Constructor and setting the provisioning profile to Use project defaults
.
Bridgewater App has conflicting provisioning settings. Bridgewater App is automatically signed, but provisioning profile Profile for Drigend 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.
Not the same error now but still no install or compile
Oct 8 02:13:50 Roberts-MBP-2 The Constructor[902]:
Oct 8 03:17:07 Roberts-MBP-2 The Constructor[14295]:
I think the logs you sent there have been truncated (i.e. only showing the first line). You can see this by comparing some of the lines with those that are multi-line logs in the previous one you sent. Please could you try again and save the log file system.log
(or an extract) from Console.app, then upload that file? This should ensure that the full logs are saved with the complete build output.
I'm sorry about the inconvenience @robertiii but this should more clearly show why it is now failing.
iPad compiling fails every time. Using swift 3 and ios 10 with constructor 1.1.1 that I found on the issue tracker.