Every time I use git with Xcode, this message appears:
2017-03-31 12:42:40.749 xcodebuild[27773:374610] [MT] DVTPlugInManager: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present
2017-03-31 12:42:40.943 xcodebuild[27773:374610] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2017-03-31 12:42:40.945 xcodebuild[27773:374610] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
The KSImage, VVDocument and Alcatraz plugins are from when I installed Xcode 7.3. This is gross and I want to stop the output from appearing. How can I remove these plugins?
I am still seeing this problem with Xcode 9. To resolve the problem, I deleted all my plugins. They stop working starting Xcode 8 anyway.
cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
ls to check your installed plugin and then rm -r <plugin-name> to delete it (them).
In Xcode 13 or macOS 12 it is:
~/Library/Developer/Xcode/Plug-ins/
Related
I have created a new project [before pod installed]. I am trying to create documentation using jazzy it's creating fine.
The commend which I used in terminal
jazzy --min-acl internal
Then I installed pod file and trying to use same commend in terminal that time I am getting error like
2021-01-08 12:48:55.363 xcodebuild[1441:132556] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2021-01-08 12:48:55.364 xcodebuild[1441:132556] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Crayons.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Running xcodebuild
Could not successfully run `xcodebuild`.
Please check the build arguments.
Saved `xcodebuild` log file: /var/folders/5t/vxhnv5ys0fb217mwggmpsk6r0000gr/T/xcodebuild-1ECA7C52-5668-4982-A6FD-9D9CDCBAEDBC.log
Failed to generate documentation
/Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/lib/jazzy/executable.rb:36:in `execute_command': /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/bin/sourcekitten ["doc", "--"] (RuntimeError)
2021-01-08 12:48:55.363 xcodebuild[1441:132556] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2021-01-08 12:48:55.364 xcodebuild[1441:132556] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Crayons.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Running xcodebuild
Could not successfully run `xcodebuild`.
Please check the build arguments.
Saved `xcodebuild` log file: /var/folders/5t/vxhnv5ys0fb217mwggmpsk6r0000gr/T/xcodebuild-1ECA7C52-5668-4982-A6FD-9D9CDCBAEDBC.log
Failed to generate documentation
from /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/lib/jazzy/sourcekitten.rb:266:in `run_sourcekitten'
from /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/lib/jazzy/doc_builder.rb:81:in `block in build'
from /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/lib/jazzy/doc_builder.rb:79:in `chdir'
from /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/lib/jazzy/doc_builder.rb:79:in `build'
from /Library/Ruby/Gems/2.3.0/gems/jazzy-0.13.6/bin/jazzy:15:in `<top (required)>'
from /usr/local/bin/jazzy:22:in `load'
from /usr/local/bin/jazzy:22:in `<main>'
jazzy will automatically use Project.xcodeproj instead of using the newly created Project.xcworkspace to build project. This will result in xcodebuild failed at build phase [CP] Check Pods Manifest.lock.
You can use this command to check the build log:
cat /var/folders/5t/vxhnv5ys0fb217mwggmpsk6r0000gr/T/xcodebuild-1ECA7C52-5668-4982-A6FD-9D9CDCBAEDBC.log
The xcodebuild command which jazzy used to build project is
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
which will select Project.xcodeproj instead of the workspace file
You should use something like this to pass the workspace and scheme to xcodebuild
jazzy --min-acl internal -x -workspace,StackExample.xcworkspace,-scheme,StackExample
Reference:
Issue 111
Setup:
Xcode 8
OSX El Capitan (10.11.6)
Physical iPhone6 (iOS 9.1)
calabash-cucumber 0.20.3
Run_loop 2.2.2
First I tried to start the calabash console on the physical phone, but because it didn't have the DeviceAgent-Runner.app app it tried to install it.
calabash-ios 0.20.3> start_test_server_in_background
EXEC: xcrun simctl list devices --json
EXEC: xcrun instruments -s devices
DEBUG: HTTP: get http://10.57.39.140:27753/1.0/health {:retries=>1, :timeout=>0.5}
DEBUG: Waiting for DeviceAgent to launch...
EXEC: cd /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent
EXEC: ditto -xk Frameworks.zip .
EXEC: ditto -xk DeviceAgent-Runner.app.zip .
EXEC: /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager install --device-id e544a153544294d3a9bcce89cecb17161d528baa --app-bundle /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app --codesign-identity iPhone Developer: name#gmail.com (P536D9MXXX)
with a timeout of 60
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/shell.rb:104:in `run_shell_command'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/ios_device_manager.rb:124:in `launch'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:1233:in `launch_cbx_runner'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:264:in `launch'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/client.rb:140:in `run'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop.rb:113:in `run'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:408:in `block in new_run_loop'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:406:in `times'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:406:in `new_run_loop'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/launcher.rb:365:in `relaunch'
from /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.20.3/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
from (irb):1
from /Users/stefan/.rbenv/versions/2.2.3/bin/irb:11:in `<main>'
As you can see it fails to install the DeviceAgent-Runner.app app with a timeout.
Then I tried to install the DeviceAgent-Runner.app manualy
MACC02MK1XBFD59:CalabashVerification stefan$ /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager install --device-id e544a153544294d3a9bcce89cecb17161d528baa --app-bundle /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app --codesign-identity "iPhone Developer: name#gmail.com (P536D9MXXX)"
objc[47805]: Class DDLog is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDLoggerNode is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDLogMessage is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDAbstractLogger is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDAbstractDatabaseLogger is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDTTYLogger is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDTTYLoggerColorProfile is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDLogFileManagerDefault is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDLogFileFormatterDefault is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDFileLogger is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDLogFileInfo is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
objc[47805]: Class DDASLLogger is implemented in both /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/Frameworks/FBControlCore.framework/Versions/A/Frameworks/CocoaLumberjack.framework/Versions/A/CocoaLumberjack and /Users/stefan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/run_loop-2.2.2/lib/run_loop/device_agent/bin/iOSDeviceManager. One of the two will be used. Which one is undefined.
2016-10-31 12:09:12.495 iOSDeviceManager[47805:7626359] [MT] DVTPlugInManager: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present
2016-10-31 12:09:12.638 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/xcfui.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.639 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.639 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/PrettyPrintJSON.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.640 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.640 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.641 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DebugSearch.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.641 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:12.642 iOSDeviceManager[47805:7626359] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-31 12:09:20.201 iOSDeviceManager[47805:7626359] EXEC: /usr/bin/xcrun security find-identity -v -p codesigning
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] Could not find valid codesign identities with:
/usr/bin/xcrun security find-identity -v -p codesigning
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] Command timed out after 30.0009800195694 seconds
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] ERROR: The signing identity you provided is not valid:
iPhone Developer: name#gmail.com (P536D9MXXX)
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] ERROR:
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] ERROR: These are the valid signing identities that are available:
2016-10-31 12:09:50.203 iOSDeviceManager[47805:7626359] EXEC: /usr/bin/xcrun security find-identity -v -p codesigning
2016-10-31 12:10:20.204 iOSDeviceManager[47805:7626359] Could not find valid codesign identities with:
/usr/bin/xcrun security find-identity -v -p codesigning
2016-10-31 12:10:20.204 iOSDeviceManager[47805:7626359] Command timed out after 30.00082302093506 seconds
2016-10-31 12:10:20.206 iOSDeviceManager[47805:7626359] Error creating product bundle for /var/folders/yy/vvrqrp2n6qv9b_tbssf_74n80000gn/T/59E25CB1-38F5-4269-B950-0040BACB2E00-47805-000048155108503C/DeviceAgent-Runner.app: Error Domain=com.facebook.XCTestBootstrap Code=0 "Failed to codesign /var/folders/yy/vvrqrp2n6qv9b_tbssf_74n80000gn/T/59E25CB1-38F5-4269-B950-0040BACB2E00-47805-000048155108503C/DeviceAgent-Runner.app" UserInfo={NSLocalizedDescription=Failed to codesign /var/folders/yy/vvrqrp2n6qv9b_tbssf_74n80000gn/T/59E25CB1-38F5-4269-B950-0040BACB2E00-47805-000048155108503C/DeviceAgent-Runner.app, NSUnderlyingError=0x7fbfef6127f0 {Error Domain=sh.calaba.iOSDeviceManger Code=5 "Could not resign with the given arguments" UserInfo={NSLocalizedDescription=Could not resign with the given arguments, NSLocalizedFailureReason=The device UDID and code signing identity were invalid forsome reason. Please check the logs.}}}
install
-u,--update-app <true-or-false> [OPTIONAL] When true, will reinstall the app if the device contains an older version than the bundle specified DEFAULT=1
-c,--codesign-identity <codesign-identity> [OPTIONAL] Identity used to codesign app bundle [device only] DEFAULT=
-a,--app-bundle <path/to/app-bundle.app> Path .app bundle (for .ipas, unzip and look inside of 'Payload')
-d,--device-id <device-identifier> iOS Simulator GUID or 40-digit physical device ID
Which gave me at least some more info, as it said it is related to code singing. I am sure that my certificats are valid. So my open questions:
Can I tell run_loop to use a different identifier for resigning DeviceAgent-Runner.app, because I can't use a wildcard certificate (company policy).
Or any other ideas how to continue from this point
Thanks!
iOSDeviceManager install <snip> --codesign-identity "iPhone Developer: name#gmail.com (P536D9MXXX)"
The signing identity you provided is not valid:
iPhone Developer: name#gmail.com (P536D9MXXX)
EXEC: /usr/bin/xcrun security find-identity -v -p codesigning
Could not find valid codesign identities with:
/usr/bin/xcrun security find-identity -v -p codesigning
The problem is that signing identity is invalid. Further, there are no valid code signing identities installed your machine.
wildcard certificate
I think you are confusing a wildcard provisioning profile and developer certificate. A wildcard provisioning profile is not required.
I am trying out LibGDX on a Mac with the aim to build helloworld for iOS. It works on Android, Desktop etc.
I am using Android Studio 1.3, I have xcode 6.4 with command line (plus xcode 7 beta 3). I try to build and run the project and I keep getting. I have updated to the latest Unity(not sure why that would be needed)
Caused by: java.io.IOException: Cannot run program "2015-07-15 15:13:08.572 xcodebuild[697:11725] [MT] PluginLoading: Required plug-in compatibility UUID 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++": error=2, No such file or directory
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:246)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:302)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
at org.robovm.compiler.util.Executor.exec(Executor.java:344)
at org.robovm.compiler.util.ToolchainUtil.link(ToolchainUtil.java:367)
at org.robovm.compiler.target.AbstractTarget.doBuild(AbstractTarget.java:229)
at org.robovm.compiler.target.ios.IOSTarget.doBuild(IOSTarget.java:341)
at org.robovm.compiler.target.AbstractTarget.build(AbstractTarget.java:223)
at org.robovm.compiler.Linker.link(Linker.java:424)
at org.robovm.compiler.AppCompiler.compile(AppCompiler.java:462)
at org.robovm.gradle.tasks.AbstractRoboVMTask.build(AbstractRoboVMTask.java:106)
... 67 more
Caused by: java.io.IOException: error=2, No such file or directory
... 79 more
Any help would be awesome as I have been searching the net.
So this turns out to be because I have Unity installed and it installs a plugin Unity4XC.xcplugin which messes it up!
I have read a lot of articles, but still not resolved, who can help me
here is the problem I encountered with iOSOpenDev and I use xcode5.0.1
Preparing to run Xcode Build Phase...
Signing /Users/liu/Library/Developer/Xcode/DerivedData/SpeedBoy-agqiwpedazizphbbdcgogvekvdya/Build/Products/Release-iphoneos/SpeedBoy with ldid... 2014-02-19 12:39:50.818 xcodebuild[513:d0b] [MT] PluginLoading: Required plug-in compatibility UUID 37B30044-3B14-46BA-ABAA-F01000C27B63 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XEP.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-02-19 12:39:50.824 xcodebuild[513:d0b] XcodeColors: load (v10.1)
2014-02-19 12:39:50.827 xcodebuild[513:d0b] XcodeColors: pluginDidLoad:
2014-02-19 12:39:50.855 xcodebuild[513:d0b] Could not fetch 'View' main menu item Done.
Copying /Users/liu/Library/Developer/Xcode/DerivedData/SpeedBoy-agqiwpedazizphbbdcgogvekvdya/Build/Products/Release-iphoneos/SpeedBoy to package directory at /Users/liu/Desktop/SpeedBoy/SpeedBoy/Package/System/Library/WeeAppPlugins/SpeedBoy.bundle...
Preparing to build package...
Setting control file /Users/liu/Desktop/SpeedBoy/SpeedBoy/Package/DEBIAN/control Version field to 1.0-1 using /Users/liu/Desktop/SpeedBoy/SpeedBoy/PackageVersion.plist... Done.
Building package ... Done.
Creating zip /Users/liu/Desktop/SpeedBoy/Packages/com.SpeedBoy_1.0-1_iphoneos-arm.zip... Done.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
Failed to create directory /var/root/iOSOpenDevPackages on device 192.168.88.146
Command /bin/sh failed with exit code 255
rm -rf plugins/*
rm -rf platforms/*
phonegap build ios //this works
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
phonegap build ios
Building for ios after adding a plugin fails. Here is the error:
** BUILD FAILED **
The following build commands failed:
CompileC build/PondMD.build/Debug-iphoneos/PondMD.build/Objects-normal/armv7/CDVDevice.o PondMD/Plugins/org.apache.cordova.device/CDVDevice.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
2014-01-16 10:32:15.055 xcodebuild[69605:1007] [MT] PluginLoading: Required plug-in compatibility UUID 37B30044-3B14-46BA-ABAA-F01000C27B63 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCode4_beginning_of_line.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-01-16 10:32:16.630 xcodebuild[69605:4203] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Users/william/working/PhonegapPondMD/platforms/ios/build/PondMD.build/Debug-iphonesimulator/PondMD.build/Objects-normal/i386/CDVDevice.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “CDVDevice.d” couldn’t be opened because there is no such file." UserInfo=0x7fe7a57a7440 {NSFilePath=/Users/william/working/PhonegapPondMD/platforms/ios/build/PondMD.build/Debug-iphonesimulator/PondMD.build/Objects-normal/i386/CDVDevice.d, NSUnderlyingError=0x7fe7a57aaed0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/william/working/PhonegapPondMD/platforms/ios/build/PondMD.build/Debug-iphonesimulator/PondMD.build/Objects-normal/i386/CDVDevice.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7fe7a57ab420>{name = (null), num = 7}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
The issue seems to be that phonegap is not copying the objective-c classes and headers into /platforms/ios/
william-macbook-pro:PhonegapPondMD william$ ls -l plugins/
total 8
-rw-r--r-- 1 william staff 296 Jan 16 10:32 ios.json
drwxr-xr-x 11 william staff 374 Jan 16 10:30 org.apache.cordova.device
william-macbook-pro:PhonegapPondMD william$ ls -l platforms/ios/PondMD/Plugins/
total 8
-rw-r--r-- 1 william staff 890 Jan 16 10:30 README
william-macbook-pro:PhonegapPondMD william$ phonegap -v
3.3.0-0.18.0
I had the same problem, and I solved It creating the project with uppercase in the first letter of project name. Yes, it seems incredible, but this was the solution.
I ran into the same issue and solved it by using the instructions here: Cordova 3.2 ios add plugin "Which config.xml? Where is it?"
To summarize, I did the following steps:
1. Removed ios platform via: cordova platform remove ios
2. Re-installed the plugin
3. (Re-)Added the ios platform via: cordova platform add ios
4. Built the project again
After this, it built just fine.
When I added the plugin using cordova plugin add command, it puts the plugin code inside a plugins folder.
When you inspect the plugin folder inside the ios platform, you would see the plugin is not available.
So I created a folder with the same name as the plugin name and copied the files from the plugin src/ directory into this. After this the project built correctly.
I also found it useful to open the native project in xcode to inspect the project closer.
I went with the solution to copy the plugin files from ./plugins/.. to the ios platform plugin directory. Whoever needs it, here is a little helper for gulp.
(npm install gulp gulp-rename)
(gulpfile.js)
var gulp = require("gulp");
var rename = require("gulp-rename");
gulp.task("cp-plugins-ios", function(){
gulp.src(["./plugins/*/src/ios/*"],{base: 'ios'}).pipe(rename(function(path){
var myDir = path.dirname.replace("src/ios","");
path.dirname = myDir;
})).pipe(gulp.dest("./platforms/ios/projectName/Plugins/"));
});