Xcode Continuous Integration: Configured destination not found - ios

I have cloned my local repository to my Xcode server and have created a bot to run tests on each commit.
But on integration, its giving the Build Service issue : Configured destination is no longer supported or could not be found.
I was not able to find any errors from the logs either.
Oct 19 12:32:08 [1397] <Info>: Will attempt to update checkout cache for bot Oct 19 12:32:08 [1397] <Info>: Xcode Source Control Blueprint was valid. Oct 19 12:32:08 [1397] <Info>: About to update/checkout: https://macbook-pro-local.com/git/SampleTestApp.git Branch: master into SampleTestCalc/ Oct 19 12:32:09 [1397] <Info>: Completed checkout of: https://macbook-pro-local.com/git/SampleTestApp.git Branch: master (#9689116d502e2fd0f647f435f3f01597c5bd8cbd) into SampleTestCalc/ Oct 19 12:32:09 [1397] <Info>: Comparing checked out code with previous blueprint: <XCSBotSCMBlueprint 0x7f9181c25ec0> {"DVTSourceControlWorkspaceBlueprintLocationsKey":{"D30279AB6EE6981218FC98E321E83EBACF83CAC1":{"DVTSourceControlBranchIdentifierKey":"master","DVTSourceControlLocationRevisionKey":"9689116d502e2fd0f647f435f3f01597c5bd8cbd","DVTSourceControlBranchOptionsKey":4,"DVTSourceControlWorkspaceBlueprintLocationTypeKey":"DVTSourceControlBranch"}},"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey":"D30279AB6EE6981218FC98E321E83EBACF83CAC1","DVTSourceControlWorkspaceBlueprintIdentifierKey":"3FA96EDF-CBD4-4A8A-B42B-F05363620DF4","DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey":{"D30279AB6EE6981218FC98E321E83EBACF83CAC1":"SampleTestCalc\/"},"DVTSourceControlWorkspaceBlueprintNameKey":"SampleTestCalc","DVTSourceControlWorkspaceBlueprintVersion":204,"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey":"SampleTestCalc.xcodeproj","DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey":[{"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey":"com.apple.dt.Xcode.sourcecontrol.Git","DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey":"https:\/\/macbook-pro.com\/git\/SampleTestApp.git","DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey":"D30279AB6EE6981218FC98E321E83EBACF83CAC1"}]} Oct 19 12:32:09 [1397] <Info>: Got 0 log items:
I have followed all the steps mentioned in the Apple Guide, and am not sure what I missed. I am using Xcode8 and Server 5.2.
I also have not mentioned any destination flag anywhere in my scheme.

Just experienced this error myself. It was because I had selected to run the bot against all iOS simulator devices. I simply selected one simulator and that fixed the issue.
The way to drill down further into this generic error is to do the following:
Within Xcode > 'Show the report navigator' (this is the furthest right tab bar within the left hand navigation window) > Select a failing bot run > Select 'Logs' tab from the central window > Change the 'Show' dropdown from 'Source Control log' to 'Raw build log' > This should give you more details on what went wrong to help you debug.

I had the same issue on Xcode 9.2. It was resolved by deleting the developer account registered in the preferences and entering it again.

Related

problem extracting an app.asar file using the asar command

I am new to Electron and want to make (at first) a sample javascript change in the Slack Electron app. I am here on a Mac OSX:
/Applications/Slack.app/Contents/Resources
and run the following:
asar extract app.asar ~/Desktop/src
And then without even making a change run:
asar pack ~/Desktop/src app.asar
The "re-packed" file is significantly larger:
-rw-r--r-- 1 oliverwilliams staff 28336486 Apr 21 03:25 app.asar
-rw-r--r-- 1 oliverwilliams staff 8175963 Mar 21 13:26 app.asar.original
and Slack will not start. Reverting back to the original file, Slack runs again.
Obviously I need to crawl before I can walk. What needs to be done here?

Why is my Rails app not pushing to Github? (error:1407742E:SSL )

I am finishing off a blog tutorial and am trying to do my final push to GitHub and Heroku. I just added the popper gem to the Gemfile and then tried to push to GitHub as usual using git push origin master.
Normally it then asks for my username and password, but instead I got the following error and have no idea what it means or why I got it. I haven't changed anything else as far as I remember.
fatal: unable to access 'https://github.com/<username>/FrogBlog.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
I am unsure how to proceed, as this message means nothing to me. I can post more files from my project if required, please advise.
GitHub recently deprecated some old and insecure cryptographic standards, including TLSv1, which is referenced in your error message:
On February 8, 2018 we’ll start disabling the following:
TLSv1/TLSv1.1: This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com.
diffie-hellman-group1-sha1: This applies to all SSH connections to github.com
diffie-hellman-group14-sha1: This applies to all SSH connections to github.com
We’ll disable the algorithms in two stages:
February 8, 2018 19:00 UTC (11:00 am PST): Disable deprecated algorithms for one hour
February 22, 2018 19:00 UTC (11:00 am PST): Permanently disable deprecated algorithms
Most Git clients should continue to work, but there are some known incompatibilities.
If you update your Git client (it looks like you're using the standard CLI client?) pushing to GitHub will probably start working again.

XCode bot takes so long to integrate

I build CI server and use Xcode bot to build my project. I have one question that why the bot take so long to integrate (over 30 minutes). It seems like Xcode bot has to check out all source code to build for each integration. Even my normal build from scratch after cleaning project only takes about 15 minutes. The second integration is just faster than the first time a little bit. I wonder what happens when Xcode bot is integrating. Is it check out new source code for each integration or just update the old source? why it takes so much time?
I had a similar issue. It turned out that the directory name source code was checked out got corrupted on the CI server. I created the Xcode Bot from a project located in MyProject - iOS directory, this information was conveyed to the bot which did not handle spaces properly.
If you look at the log you will see the directory name got escaped into MyProject%20-%20iOS and then again into MyProject%2520-%2520iOS.
Mar 2 10:56:01 [3230] <Info>: Will attempt to update checkout cache for bot
Mar 2 10:56:01 [3230] <Info>: Xcode Source Control Blueprint was valid.
Mar 2 10:56:01 [3230] <Info>: About to update/checkout:
https://ciuser#code-ci.mycompany.com/MyProject Branch: develop into MyProject%20-%20iOS/
Mar 2 10:56:01 [3230] <Warning>: Could not load cached workspace: Error Domain=XCSIntegrationService Code=2 "The repositories have changed since the last integration. Falling back to a clean checkout." UserInfo={NSLocalizedDescription=The repositories have changed since the last integration. Falling back to a clean checkout.}
Mar 2 10:56:01 [3230] <Warning>: An error occurred updating existing checkout: Error Domain=XCSIntegrationService Code=2 "The repositories have changed since the last integration. Falling back to a clean checkout." UserInfo={NSLocalizedDescription=The repositories have changed since the last integration. Falling back to a clean checkout.}
Mar 2 11:04:31 [3230] <Info>: 0.40% Compressing objects: 4% done
Mar 2 11:10:26 [3230] <Info>: Counting objects: 69562, done.
Mar 2 11:10:26 [3230] <Info>: 13.57% Receiving objects: 1,7 MB done
[...cut...]
Mar 2 11:35:45 [3230] <Info>: Completed checkout of:
https://ciuser#code-ci.mycompany.com/MyProject Branch: develop (#24cec9eca484405f7d2819f3652e34f67853b6fe) into MyProject%2520-%2520iOS/
To fix the problem I had to delete the bot, change repository directory name from MyProject - iOS to MyProject and create the bot from scratch.

checkout code from SVN repository gives error in xcode 5

I am trying to checkout code from SVN repository, which fails giving below error after providing the credentials and Repository address.
The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
And below in the console :
IDESourceControlAuthentication: Couldn't remove password from
keychain: Error Domain=DVTSecErrorDomain Code=-25300 "The specified
item could not be found in the keychain." UserInfo=0x7fe7f5320860
{NSLocalizedDescription=The specified item could not be found in the
keychain.}
Note that it was working fine up to Xcode 4.6 and started giving me error after updating to Xcode 5.
Connect once using command line tools and accept server certificate permanently. You won't have any problems afterwards.
Just run an svn command like svn info and you should see sth like below
svn info https://svn.codespot.com/a/eclipselabs.org/xtext-utils/subprojects/unittesting/branches
Error validating server certificate for 'https://svn.codespot.com:443':
The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
Hostname: *.googlecode.com
Valid: from Wed, 16 Feb 2011 00:27:28 GMT until Thu, 16 Feb 2012 00:37:28 GMT
Issuer: Google Inc, US
Fingerprint: 34:4b:90:e7:e3:36:81:0d:52:1f:10:c0:4c:98:66:90:4a:9e:05:c9
(R)eject, accept (t)emporarily or accept (p)ermanently?
Accept permanently or temporarily to continue.
However I strongly recommend any other subversion client application or command line tools which are much more reliable compared to Xcode.

Cooliris kit for ipad ComicFlow application [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Difficulty implementing ComicFlow project
How to get Cooliris tool kit for ComicFlow application in ipad?I tried to create a terminal to get this but it says ComicFlow folder is not empty.what should i do to get the Cooliris toolkit.
ast login: Fri Aug 19 10:26:22 on console
admins-Mac-mini:~ admin$ hg clone https://code.google.com/p/comicflow/
warning: code.google.com certificate with fingerprint bf:49:43:68:ed:54:3c:54:fb:19:2f:97:9b:5f:42:e4:3a:79:ae:dd not verified (check hostfingerprints or web.cacerts config setting)
destination directory: comicflow
requesting all changes
adding changesets
adding manifests
adding file changes
added 7 changesets with 56 changes to 48 files
updating to branch default
warning: cooliris-toolkit.googlecode.com certificate with fingerprint ed:19:7c:b9:a3:48:27:93:72:74:43:db:26:40:af:e0:7a:90:1c:97 not verified (check hostfingerprints or web.cacerts config setting)
cloning subrepo Cooliris-ToolKit from https://cooliris-toolkit.googlecode.com/hg/
requesting all changes
adding changesets
adding manifests
adding file changes
added 17 changesets with 381 changes to 356 files
cloning subrepo Cooliris-ToolKit/DAVServer/cocoahttpserver from https://code.google.com/p/cocoahttpserver/
abort: No such file or directory
admins-Mac-mini:~ admin$
Thanks in advance.
Install mercurial source code management software and open a terminal. Then enter the command
hg clone https://code.google.com/p/comicflow/
When you have ComicFlow source code, open the project and launch the application on your device just as you were in development.

Resources