My environment setup is:
Eclipse luna
Mobilefirst version 7.1.0.00-20151012-1525
OS windows 7
I am working on a app in which I have added IPhone environment and to deploy app on IPhone copied native folder to mac and using xcode to deploy but having following error.
/Users/sanketkulkarni/Library/Developer/Xcode/DerivedData/DemoDemoIphone-azvbaszihidylngstqhkzbapopkq/Build/Intermediates/DemoDemoIphone.build/Debug-iphoneos/DemoDemoIphone.build/Script-427B829D1393724500F223DC.sh: /Projects/sanket/06-04-2016/native/buildtime.sh: /bin/bash^M: bad interpreter: No such file or directory
Looks to me like the app is not actually built.
Make sure you have first select Run As -> Run on MobileFirst Development Server, and then copy the iphone\native folder.
Note though that it would be better if you will do your development on your Mac to begin with.
Is there a reason why you are developing on Windows/Linux, and then moving your code to Mac?
Related
Is it possible to work on a flutter project from Mac and Windows at the same time ?
Same time in the sense, work on Mac and test with iOS. later access the folder from windows and test windows device without copying the project folder? may be by storing project on a shared space ?
Any Help will be highly appreciated as I'm trying to develop an app that should work on iOS,android and Windows.
Write code (on Windows or MacOS) and push it to GitHub
Clone your app (on MacOS or Windows)
$ git clone https://github.com/myUserId/myApp.git
$ cd myApp
Make sure You've downloaded the app's dependencies
$ flutter pub get
[Modify the iOS version of the app as necessary]
Build it ($ flutter build ios) or run it ($ flutter run)!
I don't see any problem there. If from your Windows and MacOS device you can both access the project (on a shared folder for exemple) you should have any problem running Flutter on both of your devices.
You may want to use something more "easier" like a GitHub project where you only have to git pull the changes made.
I have ionic2 app that already works on (Android & IOS) platforms.
After I have copied the source folder to Win7 and downloaded the requirements
I did
1) ionic cordova platform add windows#6.0.0
2) cordova build windows -- --appx=8.1-phone
I got a .sln file in platform/windows folder and output in platforms/windows/AppPackages folder.
but the output .appx file was too small (3.625 K) just like an empty app with splashscreen (contains cordova icon).
Here is the end of the second command
The cordova requirements
I have solved this issue by creating a new ionic app
ionic start MyIonicProject tutorial
and replaced the src folder and every thing what I need from my app with the current .
and after that
ionic cordova platform add windows#6.0.0
cordova run windows
It works like a charm :)
I tried every thing else and didn't get any result.
To build apps for Windows Universal, download and install Visual Studio 2015 Community Edition. During the installation, Select “Tools for Cross Platform Development” as well as the SDK for Windows Universal Apps.
With everything installed, you’ll be able to add a windows platform from the command line with this command:
ionic cordova platform add windows
By default the build command produces two packages: Windows 8.1 and Windows Phone 8.1, which Ionic does not support. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).
<preference name="windows-target-version" value="10.0" />
I am developing Apache Cordova app on vs 2015 community with Angularjs on onsen.
And keep getting "The system cannot find the file specified" error no matter what i've done.
Things that i've done so far:
Clear cordova cache, Clean, Rebuild (like a hundred times)
Format pc, install everything
Copied the solution to another pc and worked fine nothing is wrong but does not work on my pc.
Close vs instances and change the folder name under Appdata/roaming/microsoft/local/phonetools/Corecon
And nothing changed still getting the same error when deploy starts.
My NPM version is 3.10.10, Cordova CLI is 6.1.1, nodejs version is 6.9.4 and JDK version is 1.8.3
I have created a new cordova windows application (not WP8) using CLI.
I followed the following procedure,
cordova create xyz com.compname.wxyz XYZ<br>
cd xyz<br>
cordova platform add windows<br>
cordova plugin add blah! blah! blah!<br>
cordova build windows<br>
cordova run windows<br>
When i run the above codes in command promp everything runs fine until "cordova build windows", but when i run "cordova run windows" it shows a lot of errors,
Error: Could not install the package.<br>
Starting application...<br>
Get-AppxPackage : The package repository is corrupted.<br>
The package repository is corrupted.<br>
when i try to run the project it says error log as,
Error 1 Error : DEP0600 : The following unexpected error occurred during deployment: <br>
The package repository is corrupted.<br>
The package repository is corrupted. CordovaApp.Windows80<br>
Does anyone have any idea what is going on or can someone tell me how to successfully create a new cordova windows project using CLI or manually.
Thank you.
I'm assuming you have Microsoft Visual Studio installed and you're running on a Windows 8 system?
What happens when you open the solution in Visual Studio?
I guess this is because your deployment environment you targeting is not being recognized by the deploying platform you are using.
in short your device in which you want to deploy the appxBundle is not being identified by your computer.
I hope this helps...
Tell me you want to deploy it on windows which OS version.
1) windows 10 [ARM/x86]
2) windows 8.1 [ARM/x86]
Let me know if it helps.
install4j's multiplatform installer has been working great for years. Now out of the blue we are getting an error popup dialog that The installation file is corrupted. If it is a download please try again. It has installed about 19MB of 164MB and the last file it didn't write was a small jar that has been in the build for some time now.
We get this error when running the full installer right after it is built as a test. We are also building several 'companion' applications with all the same files just different start up options and its installer run fine.
We are using install4j in batch mode:
install4j version: 5.0.8 (build 5311)
Thanks.
Are you running it on the latest Mac OS? If so then this is because of the latest Gatekeeper "feature" of Apple and you need to sign your code: http://support.apple.com/kb/HT5290