Software Archive
Read-only legacy content
17060 Discussions

Build error for IOS app

Sudeep_V_
Beginner
2,861 Views

Hi,
I'm having problem while building the app. I uploaded the distribution certificate and downloaded the provisioning files but still facing the problem with the build.

An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
Building a Cordova 5.1.1 application.
The application name is "-----------"
The package name is " -----------------"

This is what I'm getting while build.

Please help.

0 Kudos
15 Replies
PaulF_IntelCorp
Employee
2,861 Views

Have you tried building one of the sample apps? For example, the "blank cordova app" or "hello cordova" app?

0 Kudos
Sudeep_V_
Beginner
2,861 Views

No, I haven't but I built an android game. Now, I'm trying to develop an IOS game but facing the above problem. I'm not sure what to do. Please help.

0 Kudos
PaulF_IntelCorp
Employee
2,861 Views

Please try to build the "Hello, Cordova" sample app on iOS and Android, to confirm that your build credentials are good, etc. This can help to narrow down the problem.
 

0 Kudos
Anusha_M_Intel1
Employee
2,861 Views

@Sudeep, Is that all you are getting for your build log? Can you post a screenshot if possible? 

And if the build log is really as short as you say it is, there is no other way to help resolve the issue unless you can send us the source code through private msg. 

I would also check your plugins. I noticed that the verify your build assets issue happens most when plugins related. 

0 Kudos
Sudeep_V_
Beginner
2,861 Views

@Paul, this is what I'm getting when I tried building the sample IOS app but the build is successful in android. I think, missing of provisioning file is the result of the error.

An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is "SamepleAPP"
  • The package name is "com.intel.xdk.hellocordova"
  • Will use the provisioning profile for "adhoc"
  • Warning: No provisioning profile found.
  • Error: Provisioning profile is missing from the configuration file.
0 Kudos
PaulF_IntelCorp
Employee
2,861 Views

Yes, you need to provide that file for the build, cannot build without it. We don't provide that with the samples because they are unique to each developer. So you'll need to create a provisioning file for the sample app (easiest way is to create a "wildcard" provisioning file, where you set the App ID in the provisioning file to *).

0 Kudos
Sudeep_V_
Beginner
2,861 Views

@Paul, What is this wildcard where should I create that. Is it on my developer account?

0 Kudos
PaulF_IntelCorp
Employee
2,861 Views

In your apple developer account, where you create the provisioning file. You have to specify an app id for provisioning file, just specify * for the App ID in that provisioning file. You can't use it to publish an app, but you can use it for an ad-hoc build for testing.

0 Kudos
Sudeep_V_
Beginner
2,861 Views

@Paul,

Somewhere I read and changed the bundle ID to a name with only characters and (.) dots. Now, I got new error. Please check.

The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
You can view the detailed log of the iOS build here
Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is "KeepMeIn!"
  • The package name is "com.naaminc.keepmein"
  • Will use the provisioning profile for "adhoc"
  • No plugins were found in the intelxdk.config.xml file.
  • Targeting iOS version 5.1.1.
  • An unexpected error occured while attempting to build the application.
0 Kudos
John_H_Intel2
Employee
2,861 Views

The appID you used to create your mobile provisioning profile (apples developer portal) does not match what you entered in the XDK project settings.

Provisioning profile   -     com.naaminc.Keep-Me-In

You entered in the XDK    -   com.naaminc.keepmein

These must match for the build to work. You might have other issues, but this is the first one I noticed.

0 Kudos
Sudeep_V_
Beginner
2,861 Views

@John,

Thanks for the response. I will delete the mobile provisioning profiles and recreate them, and let you know the output.

0 Kudos
Sudeep_V_
Beginner
2,861 Views

I still getting the same error. Please check.

 

 
 
The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
You can view the detailed log of the iOS build here
Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is "KeepMeIn!"
  • The package name is "com.naaminc.keepmein"
  • Will use the provisioning profile for "adhoc"
  • No plugins were found in the intelxdk.config.xml file.
  • Targeting iOS version 5.1.1.
  • An unexpected error occured while attempting to build the application.
0 Kudos
Sudeep_V_
Beginner
2,861 Views

I finally found the error. I just replaced the package name to keepmein from com.naaminc.keepmein. Now, I'm able to build the app.

Thank you all for your support.

0 Kudos
Sudeep_V_
Beginner
2,861 Views

Now, I'm getting error while uploading on the app store."Invalid code signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported in iOS. Specifically, value '*' for key 'com.apple.developer.associated-domains' in Payload/KeepMeIn!.app/KeepMeIn!' is not supported."

I'm not sure what it is. Please help.

0 Kudos
Reply