-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
Hello All, I just created a "Hello world" iOS application in Xcode and trying to build it using Gradle with below script but my build fails with an error I posted below. Can any one try to assist me to fix this issue
Build Script
buildscript {
repositories {
maven {
url('http://repository.openbakery.org')
allowInsecureProtocol = true
//url('file:///Users/rene/workspace/openbakery/xcodePlugin/repository')
}
mavenCentral()
}
dependencies {
classpath "org.openbakery:xcode-plugin:0.23.+"
}
}
apply plugin: 'org.openbakery.xcode-plugin'
xcodebuild {
target = 'GradleTest'
scheme = 'GradleTest'
productName = 'GradleTest'
configuration = 'Test'
destination = ['iPhone 15 Plus', 'iPhone SE' ]
}
infoplist {
// override the bundle identifier that was specified in the xcode project.
bundleIdentifier= 'com.aa.test.peripheral.GradleTest'
}
Error:
% gradle clean xcodebuild
> Task :xcodebuildConfig FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':xcodebuildConfig'.
> Cannot get property 'productType' on null object
Metadata
Metadata
Assignees
Labels
No labels