Blackberry 6&7 .cod file is not connected to the server - blackberry

In work-light 7.0 .At the time of building Blackberry 6&7 Environment is not asking any web-works_home environment variable but its build successfully.By using command bbwp.exe archive-folder ,I get the .cod file. I manually created the archive-folder.App is launching successfully. ,but it is not connected to the server.I checked one line in config.xml is .I changed to My work-light server host also.But It fails to connecting to the server.I am using web-works sdk for BB6&7 BlackBerryWebWorksSDK2.3.1.5.
manually created archive folder

I already replied to your previous question, on the very same subject.
I don't know why you keep thinking there should even be webworks_home environment variable. I linked you to the instructions and where they clearly do not require any such variable: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/setting-up-your-development-environment/setting-blackberry-6-7-development-environment/
There are also instructions on how to preview your application and run it on a device or simulator: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/hello-world/previewing-application-blackberry-6-7/
Note that the BlackBerry 6/7 environment is deprecated and will be removed in a future release.

Related

XCode won't let me open any folders. Am I doing something wrong?

I'm making a reactJS app with cordova and firebase and I've been using VScode throughout the whole process. This month I'm looking to publish my very first app to the app store but in order to do that I need to use XCode. For some reason XCode is being very strange. It lets me clone my repository from github and save it to my desktop, but when I try to open it, i get prompted with an error saying "xcode failed to open (Users/ethan/Desktop/react-website-xCode").
I suspect this may have something to do with my environment variables or something but i'm honestly clueless. Any idea why this is happening?
Some background info:
Im running my OS, Xcode and my project from my 2TB seagate drive,
I also have the latest version of IOS installed as-well as the latest version of XCode.
If you're using reactJS and you have at least one debug build, you have to open the .xworkspace folder of your project on Xcode. That file is located on the 'ios' folder of your project.

Xamarin.Forms - Build Errors when trying to deploy to local iOS Device - "The given path's format is not supported"

The Issue
I have a Xamarin.Forms app, which runs fine in Android and iOS Simulators, as well as on a physical Android device.
But when I try to deploy to a local physical iOS device, Visual Studio reports a number of similar build errors, all relating to files that I have in the wwwroot folder.
For example:
Unable to copy file "..\BlazorHybridApp\wwwroot\weather.json" to "C:\Users\JohnDoe\AppData\Local\Temp\Xamarin\HotRestart\Signing\BlazorHybridApp.iOS.app\out\Payload\BlazorHybridApp.iOS.app\D:\Dev\MobileBlazorBindings\BlazorHybridApp\BlazorHybridApp\wwwroot\weather.json". The given path's format is not supported. BlazorHybridApp.iOS
Similarly:
Unable to copy file "..\BlazorHybridApp\wwwroot\css\app.css" to "C:\Users\JohnDoe\AppData\Local\Temp\Xamarin\HotRestart\Signing\BlazorHybridApp.iOS.app\out\Payload\BlazorHybridApp.iOS.app\D:\Dev\MobileBlazorBindings\BlazorHybridApp\BlazorHybridApp\wwwroot\css\app.css". The given path's format is not supported. BlazorHybridApp.iOS
Looking at the error detail, the destination path does appear to be malformed.
Interestingly, some of the files included in the build errors are not in fact referenced anywhere within the program code as it stands (e.g. the weather.json file), and so I'm led to believe it's not a referencing/path issue within the program code itself. It seems sufficient for a file to appear in the wwwroot folder (or one of it's sub-folders) for it to generate a build error, but ONLY when building for a physical iOS device.
The Environment
Mac
I'm including the Mac details for completeness, but it seems the build doesn't get as far as the Mac before stopping with build errors.
Xcode 12.5
Windows
Windows 10
Visual Studio 2019 version 16.10.4
I have disabled "Hot Restart" in Tools > Options > Xamarin > iOS Settings in case it was messing things up.
And the files within the wwwroot folder are set as follows within VS:
Can anyone suggest anything I might try?
I managed to "resolve" the issue myself, well, at least side-step it.
When I was getting the build errors, I was trying to deploy to a physical device connected to my Windows machine.
If instead I connected the device to the Mac, and ran the same build process on Windows, the build completed with no errors.
Another weird quirk of Visual Studio, it would seem.

Redirect Flutter SDK path when building iOS build?

I wrote a Flutter app using IntelliJ on my Linux machine. I need to build the ipa file for iOS devices, and I do not have a Mac.
I plan on using a "Mac in the cloud" server to prepare the release build for the App Store. I have been mapping out all of the steps that I need to do to do the whole process, and I got to wondering: if I am opening my project folders on a server somewhere, do I have to configure the path to the Flutter SDK that I will have to download on to server machine?
I have looked at the Flutter.io documentation, but did not find an answer to this question.
Goal: to generate a release build for iOS on server machine from the project folders that I used on my Linux machine to make release build for Android.
Well, to answer my own question, IntelliJ seems to find the correct flutter path on its own somehow. It give me an error message after build command, but then continues using correct flutter path. I am pretty sure that I never told the program where to find flutter.

How to deploy MobileFirst CLI application to an IOS device?

I am using MobileFirst CLI 7.1. I want to deploy my MobileFirst CLI application to an IOS device. How can I do that?
I navigated to the iphone environment and tried to double click the .xcodeproj. In the XCODE I see that the project is still being shown as library.
I am getting this following error when I try to deploy the application,
. I have gone through stackoverflow questions. None of them were helpful.
I want to know how can I target remote server. (In Studio we had an option to deploy to remote environment.)
You already asked the second question: How to deploy MobileFirst CLI application to an android device?. The answer is still the same:
Also I want to know how can I target remote server. (In Studio we had an option to deploy to remote environment.)
In the Studio you did not have the option to "deploy to a remote server". You had the option to configure the application to point to a remote server (the properties you can edit in the worklight.plist(for iOS) / wlclient.properties file (for Android).
This feature does not exist in the CLI. After building the project, in case you want it to point to a different server, edit the properties in said file(s) to point to the remote server.
The first question is unclear.
I have done the following and was able to launch the project in Xcode and run the app in the iOS Simulator:
mfp create myproject
cd myproject
mfp add hybrid
added an app called "test"
mfp add environment iphone
mfp push
opened the project folder and navigated to apps\test\iphone\native, followed by double-clicking on the .xcodeproj file. The project opened in Xcode successfully and I then clicked on the Run button, and the app launched in the iOS Simulator.

Remotely build iOS app

I'm building an iPhone app on windows, but have a macbook air that I keep around so that I can build my .ipk when I need to.
My question is: how (if it's possible) do I make my macbook build remotely (either by calling a command through ssh or similar), all the files are being synced already by dropbox, so i'm not concerned about how to get the files back and forth, just how to make my mac build remotely.
Thanks everyone!
You can build your project using xcodebuild. Log through ssh, go to project catalog and just run xcodebuild. You may add some parameters if required.

Resources