Ionic Package breaks in cloud


#1

Hi guys,
It seems that the build package is no longer working. It breaks when you install a plugin from a repository. As an example, if you add the wkwebview and try to build, it will break. See error below from the cloud.
I can also replicate this error when building locally. I used to get around this by running “cordova plugin add url” instead of “ionic cordova plugin add ur”. Refer to this thread: https://github.com/ionic-team/ionic-cli/issues/2716

IOS project Code Sign Entitlements now set to: Qeenatha Music/Resources/Qeenatha Music.entitlements
Entitlements file is not in references section, adding it
Discovered plugin “cordova-plugin-wkwebview-engine” in config.xml. Adding it to the project
Fetching plugin “git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git” via git clone
Failed to restore plugin “cordova-plugin-wkwebview-engine” from config.xml. You might need to try adding it again. Error: Failed to fetch plugin git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git via git.
Either there is a connection problems, or plugin spec is incorrect:
Error: git: Command failed with exit code 128 Error output:
Cloning into ‘/var/folders/kc/f8g8tr7n1054j1nzrkkvyzpr0000gq/T/git/1506325447034’…
fatal: Unable to find remote helper for 'git+https’
Building project: /Users/package/workspace/apps-276e90c0-217/cordova/platforms/ios/Qeenatha Music.xcworkspace
Configuration: Release
Platform: device
User defaults from command line:
IDEArchivePathOverride = /Users/package/workspace/apps-276e90c0-217/cordova/platforms/ios/Qeenatha Music.xcarchive

Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/package/workspace/apps-276e90c0-217/cordova/platforms/ios/build/device
SHARED_PRECOMPS_DIR = /Users/package/workspace/apps-276e90c0-217/cordova/platforms/ios/build/sharedpch

Build settings from configuration file ‘/Users/package/workspace/apps-276e90c0-217/cordova/platforms/ios/cordova/build-release.xcconfig’:
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Distribution
DEVELOPMENT_TEAM = GFSQW64RX3
ENABLE_BITCODE = NO
HEADER_SEARCH_PATHS = “$(TARGET_BUILD_DIR)/usr/local/lib/include” “$(OBJROOT)/UninstalledProducts/include” “$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include” "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
PROVISIONING_PROFILE = 0c1a0b6d-85c2-43e3-9ec1-7805b12c4082
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h


#2

Hi @neoassyrian did you find a solution to this? I think I’m having a similar issue with another plugin.

Seems like ionic package build is not able to find plugins that reference a git-url…

My error looks like this with the similar “fatal: Unable to find remote helper for ‘git+https’”:

Discovered plugin "cordova-background-geolocation" in config.xml. Adding it to the project
Fetching plugin "git+https://github.com/transistorsoft/cordova-background-geolocation.git" via git clone
Failed to restore plugin "cordova-background-geolocation" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin git+https://github.com/transistorsoft/cordova-background-geolocation.git via git.
Either there is a connection problems, or plugin spec is incorrect:
	Error: git: Command failed with exit code 128 Error output:
Cloning into '/tmp/git/1507186115833'...
fatal: Unable to find remote helper for 'git+https'
ANDROID_HOME=/opt/android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
:wrapper

#3

Hi,
Not yet. It is still not working for me. I also submitted a bug on GitHub but with no reply yet. One of the Ionic guys where having a look at it, and never got back with the solution.
Check this one: https://github.com/ionic-team/ionic-cli/issues/2716