This is a migrated thread and some comments may be shown as answers.

Can't Build OR Buld and Deploy to iOS

21 Answers 290 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 22 Jan 2015, 09:56 PM
Getting the following error... looks like the C# cloud generators got cross wired with the JS/HTML generators for ObjectiveC:

ENOENT, no such file or directory '/tmp/56934235c2fe4aa699b861dbb52b7efe/Plugins'

/Users/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:166
throw Error("exit code: " + code);
^
Error: exit code: 1
at Error ()
at ChildProcess. (/Users/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:166:13)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
N/AProjectTest00C#N/A

21 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 22 Jan 2015, 10:19 PM
Attached screen shot
0
John
Top achievements
Rank 1
answered on 22 Jan 2015, 10:26 PM
try again on the attachment
0
Kaloyan
Telerik team
answered on 23 Jan 2015, 12:15 PM
Hi John,

Thank you for reporting this and sharing the build error with us.

Unfortunately, with the yesterdays AppBuilder 2.7.3 release, we introduced a critical bug that was preventing our users from building applications in the cloud. The issue was due to not automatically resolving some of the Cordova plugin dependencies. You can further check the incident on our status page. As also written there, we managed to apply a fix for the faulty behavior on our live environment and everything should be up and running now. Please, give it a try and let us know if you will require our further assistance.

Please, accept our apologies for all the inconveniences and troubles this had caused you. Thank you for your understanding in advance.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
John
Top achievements
Rank 1
answered on 23 Jan 2015, 02:00 PM
Thanks Kaloyan for fixing it so fast. It is working well this morning.
0
Kaloyan
Telerik team
answered on 26 Jan 2015, 12:57 PM
Hi John,

Thank you for getting back to us with the good news. I am glad that the issue is resolved now.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
mOpLin
Top achievements
Rank 1
answered on 29 Jul 2015, 01:58 AM

I am having the exact same problem.

 When building from the desckto app gives the same problem.

 When usonh CLI it gives:

'Unable to delete file "\\\\ab-storage\\userdata\\pablo.palacios_moplin.com\\_Keystore\\1d0b9db4ef2e4f83b8e60a23aafef99c.p12". The process cannot access the file \'\\\\ab-storage\\userdata\\pablo.palacios_moplin.com\\_Keystore\\1d0b9db4ef2e4f83b8e60a23aafef99
c.p12\' because it is being used by another process.' ]
Build failed. For more information read the build log.

...

 

Now I just updates appbuilder nad cli.

Please help, I need to compile and send the client a new version

0
mOpLin
Top achievements
Rank 1
answered on 29 Jul 2015, 03:55 PM

I am having the problem also on the appbuilder WEB.

Cant compile to IOS, please need help.

I was able to compile the IOS version 24 hour ago, the app was working without problems and running also on Itunes Connect.

0
Kaloyan
Telerik team
answered on 30 Jul 2015, 03:12 PM
Hi Pablo,

Thank you for reporting the faulty behavior. We believe that we have found the cause of the issue and a fix for it is ready. Currently, it is being tested by our QA department and we plan to release it tomorrow. This said, I will write back in this thread once everything is okay, so that you can confirm if it works.

Please, excuse us for any inconveniences caused by this and thank you for your patience and understanding in advance.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
mOpLin
Top achievements
Rank 1
answered on 31 Jul 2015, 02:45 PM

Hi, do you have an update. Our client is putting a lot of pressure on us.

Help.

0
Kaloyan
Telerik team
answered on 31 Jul 2015, 03:55 PM
Hi Pablo,

Unfortunately, we weren't able to release the fix on our live servers today, for which we sincerely apologize. Hopefully the issue will be resolved on Monday.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
mOpLin
Top achievements
Rank 1
answered on 31 Jul 2015, 05:53 PM

Hi, is there any type of workaround we can use to compile to IOS, we really need to send our client an IPA for testing.

This is a major headache, please help.

Can I send you guys the project so you can compile it for us?

0
Freddy
Top achievements
Rank 1
answered on 01 Aug 2015, 09:43 PM
We also facing issues. Every app which is uploaded, gets an "invalid binary" message. Its really a big headache, especially after the big itunesconnect/testflight issues of Apple last week.
0
Kaloyan
Telerik team
answered on 03 Aug 2015, 10:19 AM
Hi guys,

@Pablo: As the issue you are experiencing is caused by the googlemaps custom Cordova plugin and more precisely the way that AppBuilder installs and removes its NPM dependencies, you can apply the following workaround:
  1. Download the attached archive, containing a reworked version of the com.googlemaps.ios plugin;
  2. Add it to your project as a custom Cordova plugin;
  3. In your project, open the plugin.xml of the phonegap-googlemaps-plugin and edit the following line:
    <dependency id="com.googlemaps.ios" url="https://github.com/wf9a5m75/googlemaps-ios-sdk-for-phonegap" commit="master" />
    to:
    <dependency id="com.googlemaps.ios"/>
This should allow you to build the project for iOS again. I hope it helps.

Further, our QA department found a regression in the fix we aimed to apply and thus, its release will be delayed. I believe we will manage to introduce a new AppBuilder version, containing this fix by the end of the week.

@Freddy: I am sorry to hear this. Still, could you please share the whole message from Apple about the rejection? I would also suggest you to open a new thread about this issue, as it is not related to AppBuilder cloud build or deployment failures.

Thank you.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Kaloyan
Telerik team
answered on 03 Aug 2015, 01:17 PM
Hi again Pablo,

We just released a fix for the above mentioned issue with the npm plugin dependencies. Everything should be up and running now and your original state of the project should build successfully without the proposed workaround.

Please, let me know if further issues arise.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jon
Top achievements
Rank 1
answered on 05 Aug 2015, 02:36 AM

Has this possibly come back? All was working fine an now I'm receiving this just a few minutes ago.  Thanks! 

Error: /Users/builder/BpcTooling/BuildScripts/node_build/node_modules/q/q.js:151
                throw e;
                      ^
[object Object]
Error: Error: Can't remove "/tmp/builds/Cy9Hfl4lBBNQqZcrQ0/provisions/​......mobileprovision": EACCES, unlink '/tmp/builds/Cy9Hfl4lBBNQqZcrQ0/provisions/9.....mobileprovision'
Done building project "cpm.tmp.proj" -- FAILED.

 

 

0
Jon
Top achievements
Rank 1
answered on 06 Aug 2015, 12:44 AM

Is there any update on this?

I know you guys are running a complicated platform - as a fellow developer I appreciate what you guys do.

BUT - having a paid build service that no longer works with no word from support (here or via tickets) is not looking so good.

I was considering the backend services but this response time for a critical issue is really leaving a bad taste in my mouth.

Please advise on if you are working on any iOS build issues?

Jon

 

0
Kaloyan
Telerik team
answered on 07 Aug 2015, 09:56 AM
Hello Jon,

As replied in your support ticket on the same matter, the error is due to missing plugin variables for the Facebook plugin in your project.

Further,
as the posted error here is not the full build failure log from AppBuilder, it is hard to tell what is the exact cause of the issue you are experiencing. This said, thank you for submitting a support ticket, clarifying the exact behavior and showing the full log.

I hope the issue is fixed on your side now. Please, let us know if you will require further assistance.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jon
Top achievements
Rank 1
answered on 07 Aug 2015, 06:33 PM

Hi Kaloyan - My issue is resolved thank you!

It seemed to be only ios for some reason - but perhaps this is because I had deleted the iOS app and not my Android app.

Then I saw this thread with other's having ios issues.

 

The final message in the build output said: Error: Error: Can't remove "/tmp/builds/Cy9Hfl4lBBNQqZcrQ0/provisions/​......mobileprovision": EACCES, unlink '/tmp/builds/Cy9Hfl4lBBNQqZcrQ0/provisions/9.....mobileprovision'

Maybe there can be a better final error message? 

 Anyway - thank you for AppBuilder - overall it has made things much easier.  Cordova 4.0 builds seem to be working for me now and I have ionic, cordova 4.0 and crosswalk all working along with Visual Studio debugging (which is a little buggy - sometimes it works sometimes it doesn't).

Overall it's a great toolset - it would be great to have offical support for ionic and ngcordova and also if when running in the simulator if you could hit breakpoints in Visual Studio that would be amazing. 

 

 

 

0
Kaloyan
Telerik team
answered on 12 Aug 2015, 02:01 PM
Hi again Jon,

I am glad to hear that the initial issue is resolved now. Further, thank you for the valuable feedback and the kind words about our product. I would encourage your to share any additional thoughts on our Ideas and Feedback portal so that we can further prioritize them.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Blue
Top achievements
Rank 1
answered on 10 Sep 2015, 07:35 AM

Hi,

I'm also getting the "Can't remove...... mobileprovision" error on my build, but before that there are 2 other errors relating to the pushwoosh plugin.

I've tested this numerous times and it seems that only when using cordova 4.0.0 for my project does the pushwoosh error appear and the build subsequently fails.

I would appreciate any assistance here as I am not familiar with xcode or your clang build process, and so I cannot fix it on my end.

I have attached the full output in Visual Studio 2013 to this post.

Regards

0
Kaloyan
Telerik team
answered on 14 Sep 2015, 02:06 PM
Hi Blue,

Thank you for providing the full log of the build failure. It indicates that the Pushwoosh framework cannot be found during the cloud build process. This is expected if you are using the Pushwoosh plugin from its original repository, as it refers the Pushwoosh framework via symbolic links. Unfortunately, symbolic links are not supported in AppBuilder due to the cross platform nature of our product. If this is indeed the case, I would recommend you to remove this version of the Pushwoosh plugin from your project and refer the latest one from the Telerik Verified Plugins Marketplace instead. It is tested on Cordova 4.0 and it works as expected there. For more information about how to do this, please check these links:

 - Remove a custom Cordova plugin from your AppBuilder project
 - Install a plugin from the Telerik Verified Plugins Marketplace

I hope this helps.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Kaloyan
Telerik team
mOpLin
Top achievements
Rank 1
Freddy
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Blue
Top achievements
Rank 1
Share this question
or