Software Archive
Read-only legacy content
17060 Discussions

Build Server offline?

Oliver_L_1
Beginner
958 Views

Hey Folks,
I have huge Trouble while uploading my APP for building iOS, and know from other devs that they also have Problems with building for Android.

Whats going on there?

Regards
  Oli

0 Kudos
15 Replies
John_H_Intel2
Employee
958 Views

Can you be more specific about the issue you are facing?

Uploading or actually building your app?

If its building, can you post the error log so we can get some insight on what the issue is?

0 Kudos
Shay_s_
Beginner
958 Views

I'm having building issues too, it failed a Crosswalk build without any log, and I even had one build that said it failed but I still got a link in the email.

Download is extremely slow though, maybe they are doing some maintenance work...  

0 Kudos
Oliver_L_1
Beginner
958 Views

First Problem was that

  1.  I clicked "iOS"
  2. It uploaded
  3. I clicked "build"
  4. It builded
  5. And than after 10 minutes or so I was back in Build IU without any Response

So I clicked again

  1. "iOS"
  2. It starts uploading... never finished

Then couple of minutes later

  1. "iOS"
  2. It uploaded
  3. I clicked "Build"
  4. It builded
  5. It failed
  6. Error log had some warnings

Here the last couple of rows:

Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/MyApp normal armv7s
    cd .../MyApp/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Developer/android-sdk-macosx/tools:/usr/local/ant/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../MyApp/platforms/ios/build/device -F.../MyApp/platforms/ios/build/device -filelist .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/MyApp.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework AssetsLibrary .../MyApp/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -framework AVFoundation -framework CoreVideo -framework MessageUI -framework QuartzCore -framework SystemConfiguration -liconv -Xlinker -dependency_info -Xlinker .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/MyApp_dependency_info.dat -o .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/MyApp
duplicate symbol _UIApplicationRegisterUserNotificationSettings in:
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/AppDelegate.o
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/AppDelegate+APPRegisterUserNotificationSettings.o
ld: 1 duplicate symbol for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/MyApp normal armv7
    cd .../MyApp/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Developer/android-sdk-macosx/tools:/usr/local/ant/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../MyApp/platforms/ios/build/device -F.../MyApp/platforms/ios/build/device -filelist .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/MyApp.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework AssetsLibrary .../MyApp/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -framework AVFoundation -framework CoreVideo -framework MessageUI -framework QuartzCore -framework SystemConfiguration -liconv -Xlinker -dependency_info -Xlinker .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/MyApp_dependency_info.dat -o .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/MyApp
duplicate symbol _UIApplicationRegisterUserNotificationSettings in:
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/AppDelegate.o
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/AppDelegate+APPRegisterUserNotificationSettings.o
ld: 1 duplicate symbol for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/MyApp normal arm64
    cd .../MyApp/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Developer/android-sdk-macosx/tools:/usr/local/ant/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../MyApp/platforms/ios/build/device -F.../MyApp/platforms/ios/build/device -filelist .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/MyApp.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework AssetsLibrary .../MyApp/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -framework AVFoundation -framework CoreVideo -framework MessageUI -framework QuartzCore -framework SystemConfiguration -liconv -Xlinker -dependency_info -Xlinker .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/MyApp_dependency_info.dat -o .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/MyApp
duplicate symbol _UIApplicationRegisterUserNotificationSettings in:
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/AppDelegate.o
    .../MyApp/platforms/ios/build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/AppDelegate+APPRegisterUserNotificationSettings.o
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
 Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7s/MyApp normal armv7s
 Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/armv7/MyApp normal armv7
 Ld build/MyApp.build/Release-iphoneos/MyApp.build/Objects-normal/arm64/MyApp normal arm64
(3 failures)
Command finished with error code 65: .../MyApp/platforms/ios/cordova/build --release,--device
Error: .../MyApp/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

Hopefully you can give a Hand on that.

0 Kudos
John_H_Intel2
Employee
958 Views

The error is coming from a 'linker error'. Try removing your 3rd party plugins and building. Once that works, add them back in 1 at a time. There is more than likely a conflict with two of the plugins you selected.

0 Kudos
John_H_Intel2
Employee
958 Views

@ Shay s ~

Are all of your builds failing, or just one? Can you provide the name of the app? Did you include 3rd party plugins?

0 Kudos
Oliver_L_1
Beginner
958 Views

Hey John,
thanks for the info.

The Problem seems to be the Plugin de.appplant.cordova.plugin.local-notification@0.8.1, I use it since a month without any Problem. But now, while including it, the build Fails...

Any ideas? Ist tha same Version as allways!

0 Kudos
PaulF_IntelCorp
Employee
958 Views

Are you referencing the plugin by ID or by Git repo name? My suspicion is the Corodova registry is causing the problem (it has been deprecated and occasionally has problems since that happened). Try including the plugin by referencing its git repo and ref tag, rather than via the ID. Here's the repo location: https://github.com/katzer/cordova-plugin-local-notifications and here is a list of the releases for that plugin: https://github.com/katzer/cordova-plugin-local-notifications/releases

Based on the release tags in that repo, you would specify the git repo like this:

https://github.com/katzer/cordova-plugin-local-notifications.git#0.8.0

to get the version you specified using the registry.

0 Kudos
John_H_Intel2
Employee
958 Views

Any reason you are including .0.8.1 ?

I just created a new app, included the plugin (most recent), built it for iOS, installed it, and it fired the notifications as I coded it to do.

If you want to see the code, let me know and Ill attach it.

0 Kudos
Oliver_L_1
Beginner
958 Views

Dear Paul and Hello John,
there is just one reason to do so: Through specify an Version, I know when I update the Plugin (I have to include new Version). Then I can test the new Plugin-Version.

While not specifying an Version, the Plugin author Releases an new Version and my App changes. If that raises some Errors, I will search on the wrong side of code for that Errors, because I didn't know there where an update of the Plugin.

My Build still Fails, doesn't matter If I use ID or the Repo URL.

What could be the Problem here? Why does the "ld" command fail, as soon as I add that Plugin? Why just in my Project, but not in John's Project?

Clarify for all: It's more about: "I can't Build! It Fails!" than about "Local Notifications Plugin doesn't work".

0 Kudos
John_H_Intel2
Employee
958 Views

I understand why (and encourage) you to specify a version of a plugin once you find a version that works the way you want it to.

I can see that you have successfully built your app a few times over the last few days. Are you removing a plugin, uploading building and getting it to succeed? Then adding a plugin back in, uploading, building and it failing?

The error message in your logs when it fails says its a linker error, which typically means that you have a collision of plugins (that is out our control).

0 Kudos
Oliver_L_1
Beginner
958 Views
Are you removing a plugin, uploading building and getting it to succeed? Then adding a plugin back in, uploading, building and it failing?

Yes, both. I delete the one Plugin I told you "local notifications" and than Build suceeded. Then I add it back (doesn't matter with repo-url with or without Version or id with or without Version) and then it Fails. As I told you: Beginning of the month I buid with all three Plugins without Problems... Something must chang in between so that it Fails now? Should I send you the whole Build Log?

0 Kudos
John_H_Intel2
Employee
958 Views

You need to figure out which of the other 3rd party plugins is having an issue with the local notifications plugin.

Keep the local notifications plugins, remove the other two 3rd party plugins. Build. Add them in one at a time to see where the issue comes from. You can also check the repos of the the plugins to see if they were recently updated as well.

0 Kudos
PaulF_IntelCorp
Employee
958 Views

Regarding the issue of changing plugin versions (if you don't specify a version), our EA release changes the way plugins are dealt with, resolving that issue. So that once you add a plugin to your project you will continue to use that same version until you choose to change it. The plugin becomes a permanent part of your project. You can try the EA release without having to uninstall your existing version. See this post for more details: https://software.intel.com/en-us/forums/topic/561050

A future release of the XDK will incorporate this new form of plugin management that is available in the EA release.

0 Kudos
Oliver_L_1
Beginner
958 Views
Hey John, seems that you where right: Just leaving local-notifications Plugin active, the Build works. Now I search the other both. "Badges" was updated 16days ago AND 4 days ago. I download them and add them to my src's to make sure there are no modifications wich I doesn't see. Paul, Gregor Biswanger always told me about the future plan of how to deal with Plugins, really nice Idea. Looking Forward to see that for productiv enviroments. As Long as it is in Alpha/beta, I can't use it in my Project. May I can do a small test, but "just for fun", not for the final app. I will give you Feedback again, when I found what was wrong here.
0 Kudos
Oliver_L_1
Beginner
958 Views
Looks like I'am done: phonegap-backgroundjs-master + cordova-plugin-badge-0.6.4 + cordova-plugin-local-notifications-0.7.8, no newer Versions. Now the build worked. I will test on the device, whether the plugins are working or not.
0 Kudos
Reply