Software Archive
Read-only legacy content
17061 토론

Intel XDK 3088 IOS Build failed

Christian_K_
새로운 기여자 I
3,843 조회수

Hello,

i have updated to Intel XDK 3088 and i can`t build for IOS. The build for Android is ok.

I see this message without a log.

Build Log

  • Building a Cordova 5.4.1 application.
  • Using platform cordova-ios 4.0.1.
  • The application name is "MyFoodDB"
  • The package name is "de.myfooddb"
  • Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
  • Plugin "cordova-plugin-file" (2.1.0) installed.
  • Plugin "cordova-plugin-statusbar" (1.0.0) installed.
  • Plugin "cordova-plugin-network-information" (1.0.1) installed.
  • Plugin "cordova-plugin-dialogs" (1.1.1) installed.
  • Plugin "cordova-plugin-globalization" (1.0.1) installed.
  • Plugin "cordova-plugin-apprate" (1.1.11) installed.
  • Plugin "cordova-plugin-inappbrowser" (1.0.1) installed.
  • Plugin "cordova-plugin-screen-orientation" (1.4.0) installed.
  • Plugin "hu.dpal.phonegap.plugins.UniqueDeviceID" (1.2.0) installed.
  • Plugin "cordova-plugin-device" (1.1.0) installed.
  • Plugin "de.appplant.cordova.common.registerusernotificationsettings" (1.0.1) installed.
  • Plugin "de.appplant.cordova.plugin.local-notification" (0.8.2) installed.
  • Plugin "cordova-plugin-x-toast" (2.4.0) installed.
  • Plugin "phonegap-plugin-barcodescanner" (4.1.0) installed.

 

0 포인트
1 솔루션
Swati_S_Intel1
3,814 조회수

Please check few things. 

1. Please follow this document https://software.intel.com/en-us/xdk/docs/intel-xdk-certificate-management to import your iOS certificate in the XDK. (When you imported your certificate is it possible you had multiple certs and the one you selected is not valid?)

2. Make sure your app ID matches the one provided while generating provisioning profile 

3. Try to build one project created from sample app or blank template and see if it builds without error.

4. If above does not work please send you project in a zip file via PM.

 

원본 게시물의 솔루션 보기

0 포인트
23 응답
PaulF_IntelCorp
3,395 조회수

That summary log may have more details below the scroll. Can you scroll down and make sure we have the full summary log?

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

Attached the Screenshot. I can`t see more log.

0 포인트
PaulF_IntelCorp
3,395 조회수

Christian -- try the following:

  • change to CLI 5.1.1 and see if it builds with that option
  • if not, try removing plugins, one-by-one (build between each removal) to see which plugin is causing the problem

Do you have plugins specified in your intelxdk.config.additions.xml file? If so, please remove them from that location and use the plugin manager to add them to your project.

0 포인트
Amrita_C_Intel
3,395 조회수

Hello,

Are you using correct provisioning profile? I would recommend if you have doubt please try creating provisioning profile again.

Please follow this article in order to that: https://software.intel.com/en-us/xdk/docs/building-cordova-ios-apps-intel-xdk

and can you provide the entire build log?

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

I see have this problem also wit CLI 5.1. When i use a false Developer Certificate, then comes a message.

Build Log

  • Building a Cordova 5.4.1 application.
  • Using platform cordova-ios 4.0.1.
  • The application name is "MyFoodDB"
  • The package name is "de.myfooddb"
  • Plugin "cordova-plugin-splashscreen" (3.2.0) installed.
  • Plugin "cordova-plugin-statusbar" (2.1.0) installed.
  • Plugin "cordova-plugin-device" (1.1.1) installed.
  • Targeting iOS version 8.0.
  • Error: A build error occurred. Check the build log.

You can view the full log here

 

I can`t see a message, with my Developer Certificate.

 

Build Log

  • Building a Cordova 5.4.1 application.
  • Using platform cordova-ios 4.0.1.
  • The application name is "MyFoodDB"
  • The package name is "de.myfooddb"
  • Plugin "cordova-plugin-splashscreen" (3.2.0) installed.
  • Plugin "cordova-plugin-statusbar" (2.1.0) installed.
  • Plugin "cordova-plugin-device" (1.1.1) installed.
  •  
0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

My IOS build was ok, before the Intel XDK 3088 update. I think, the problem is not the provisioning profile.

0 포인트
Swati_S_Intel1
3,815 조회수

Please check few things. 

1. Please follow this document https://software.intel.com/en-us/xdk/docs/intel-xdk-certificate-management to import your iOS certificate in the XDK. (When you imported your certificate is it possible you had multiple certs and the one you selected is not valid?)

2. Make sure your app ID matches the one provided while generating provisioning profile 

3. Try to build one project created from sample app or blank template and see if it builds without error.

4. If above does not work please send you project in a zip file via PM.

 

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

This solved my problem.

Now i have a problem with IOS build and ScreenOrientation.

1 error generated.

** BUILD FAILED **


The following build commands failed:
	CompileC build/MyFoodDB.build/Release-iphoneos/MyFoodDB.build/Objects-normal/armv7/YoikScreenOrientation.o MyFoodDB/Plugins/cordova-plugin-screen-orientation/YoikScreenOrientation.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/cordova/build-release.xcconfig,-project,MyFoodDB.xcodeproj,ARCHS=armv7 arm64,-target,MyFoodDB,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: -xcconfig,.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/cordova/build-release.xcconfig,-project,MyFoodDB.xcodeproj,ARCHS=armv7 arm64,-target,MyFoodDB,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../builds/build.2016-03-26.10-29-09.i4FjjT.tmp/mobile2/platforms/ios/build/sharedpch

 

0 포인트
PaulF_IntelCorp
3,395 조회수

Christian -- please save the detailed build log to a file and then ATTACH that detailed build log to your post, the real error details are above the bit that you posted. Use the "File Attachments" link below the edit window (the forum post edit window) and use the "Attach Media" button to add that detailed build log.

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

Attached the log file. Thanks for your help.

0 포인트
PaulF_IntelCorp
3,395 조회수

Christian -- strange error, but this appears to be the reason for the failure:

In file included from .../mobile2/platforms/ios/MyFoodDB/Plugins/cordova-plugin-screen-orientation/YoikScreenOrientation.m:24:
.../mobile2/platforms/ios/MyFoodDB/Plugins/cordova-plugin-screen-orientation/YoikScreenOrientation.h:26:9: fatal error: 'Cordova/CDVShared.h' file not found
#import <Cordova/CDVShared.h>
        ^

Which implies that something about the screen orientation plugin is amiss. I see that a 1.4.1 release has been pushed to the Cordova registry (see https://www.npmjs.com/package/cordova-plugin-screen-orientation). You might try removing the version you have in your project and adding that newer version and check any issues related to the plugin (https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues). To add that newer version you'll have to use the "add a third-party" option, like this:

Screen Shot 2016-03-27 at 2.52.12 PM.png

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

Thanks. That solved the problem.

When i add the version 1.4.1, than i see in the Intel XDK the version 1.4.0.

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

The problem is solved only partly. When i move my iPad, than the screen is not changed. This problem is only with IOS not with Android.

0 포인트
Anusha_M_Intel1
3,395 조회수

Hi Christian,

Check out this FAQ for information on how to deal with the iPad case: https://software.intel.com/en-us/xdk/faqs/cordova#app-orientation

 

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

I have the cordova-plugin-screen-orientation 1.4.0 in my project.

See the documentation.

Alternatively, you can use this plugin: https://github.com/yoik/cordova-yoik-screenorientation. Import it as a third-party Cordova* plugin using the plugin manager with the following information:

  • cordova-plugin-screen-orientation
  • specify a version (e.g. 1.4.0) or leave blank for the "latest" version

 

0 포인트
Amrita_C_Intel
3,395 조회수

Does this solved your issue?

0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수
No
0 포인트
Christian_K_
새로운 기여자 I
3,395 조회수

What can i do?

0 포인트
PaulF_IntelCorp
3,395 조회수

Christian -- there's been a lot of activity on this thread with a variety of conflicting answers. Can you summarize where you are right now? Are you still having build problems or just an orientation problem or ??? Might help to start a new thread...

0 포인트
Christian_K_
새로운 기여자 I
3,196 조회수

Thanks for your answer. The first problem was the build with cordova-plugin-screen-orientation 1.4.1. The cordova-plugin-screen-orientation 1.4.0 solved the problem.

The next problem ist the app orientation with iPad. Should i create a new thread?

0 포인트
응답