I am having a problem but can't seem to find the much-needed information online, having trawled through the internet. I have Xamarin.forms iOS app that I want to test. I cannot run iOS in windows so transferred to mac.
To inspect elements in the app, I need to open the app in Xcode or appium inspector, so I created an Xcode project from the source control containing the Xamarin.forms iOS app. I ran the project and the build was successful.
I deployed the compiled app to an iOS simulator and it deployed okay. This is where the problem is - The deployed app open in the simulator as a blank app showing a white screen with only the battery indicator and a clock showing at the top of the blank white screen. The app is not visible.
From research, I read that this blankness is due to the fact that I was trying to open a Xamarin built app in a native Xcode. In this case, how can I convert this Xamarin.forms iOS app into a native Xcode app so I can open it in an Xcode simulator? I will appreciate any helpful input
That is not how it supposed to work, You only need the mac to compile no to run the project. You need to connect your windows machine to the mac using your LAN and just send the code to it to compile it and retrieves back the code ready for you to open it in your windows machine iOS emulator. Then you can debug to inspect your elements as desired.
Related
I'm creating a flutter plugin and I just tried the example project that gets created by flutter it self. This example project is an app that shows the operation system and its version. If I start it from Xcode on my iPhone SE, it works fine.
But if I close the app and open it without Xcode, that means that I tipp on the app icon to launche it, like every normal app, it doesn't start correctly.
It is showing for not even a second a white screen, followed by a black screen and is closing the app right after this.
Why is it behaving like that?
Is it, because it is a debug version and needs Xcode?
How can I put my example app on my iPhone without needing a connection to Xcode to start it?
Thanks in advance!
Edit: Thanks to the answer of Răzvan Puiu below, i know now that this is because xCode puts the app as a debug version on my iPhone. This debug version can only run with xCode. After I tried it with a 'normal' app and not the example app of a plugin project, i even got this text shown if i tried to start the debug version without xCode:
So the solution is to run the app with:
flutter run --release
I believe it behaves like that because you don't have an Apple developer account. "Without enrolling in the Apple Developer Program, your app will only last for 7 days on your device. After that, you’ll have to re-deploy it to your device via Xcode. If you’re enrolled in the Apple Developer Program, you won’t have this inconvenience."
Yes
You can run flutter run --release and then select your physical device. However the app will remain on your phone for only 7 days unless you have the Apple dev account.
I test my app on the iOS simulator without a problem, on Android everything is fine, but when I download the app on the iPhone, it doesn't work. It gets stuck in the LaunchScreen and suddenly closes after about 10 seconds.
I have no clue why. I already tried a possible solution that was to specify the node version on the Build Phases > Bundle React Native code and images
App on Android already released but I'm facing this issue on iOS.
Debug
Same Wifi
No VPN on
Plug in your device via USB
I have been packaging an app that has been build using Cordova (Dev team is somewhere else) and I have just changed the bundle identifier to match our Enterprise Developer license (identifier like xxx.xxx.AppName from yyy.yyy.AppName). The starting point of the app is an html page and it is perfectly working on iPad simulator in Xcode but If I choose iOS device in Xcode (my iPad) only white color screen is shown up for as long as the app is opened and also it doesn't showing any error message (In Safari Developer mode there is no respectable application under my iPad option). What would be the cause. please help me guys...
App Details,
Hybrid app
Target platform is >= iOS 6
Device - iPad (only for iPad)
Thanks
The problem was on the Javascript files we were using and one of the file wasn't rendered correctly since it was referenced wrongly. So eventually we found it and correct it. Guys, for Cordova kind of app, if it behaves similarly, just check are there any java script errors then ensure it before proceeding further.
I am using Worklight 6.1 and have built the App Center client (installer) application, and deployed it to my device. The app I want to download through it is not appearing in the list - only the catalog app is available. However, if I go to the Application Center management console I can do see the app there. If the App is marked as an installer it can then also be downloaded to the device directly but not through the App Center client application.
I have noted that the app does not contain a device family tag or a minimal iOS version on the application properties page however these are set correctly to iphone, ipad and iOS 7 in the application description for the iOS project in xcode
Anybody have any ideas?
If your iOS device is an ipad (not an iphone), the effect that you see might be the following problem:
https://www-304.ibm.com/support/entdocview.wss?uid=swg1PI09315
The problem is solved in the latest ifix of Worklight 6.1.
Without the ifix, it is also possible to solve the problem locally, but caution: this local fix will degrade performances of the catalog view scrolling a little bit while using the official ifix does not degrade any performance. The local fix is:
Open the IBMAppCenter worklight project from
<INSTALL_DIR>/ApplicationCenter/installer/IBMAppCenter on
Worklight studio.
Edit the following file:
IBMAppCenter/apps/AppCenter/common/js/appcenter/widgets/EdgeToE
dgeStoreList.js
Replace:
return declare("appcenter.widgets.EdgeToEdgeStoreList",
[EdgeToEdgeStoreList, LongListMixin], {
by:
return declare("appcenter.widgets.EdgeToEdgeStoreList",
EdgeToEdgeStoreList, {
I have installed the Worklight 6.0 and Blackberry 7 SDK + Simulator. When I package and Launch to the Blackberry Simulator, Application is deployed to the simulator. But the app stuck with the IBM Logo[Splash screen].
I have deleted the app re-deployed and restarted the Simulator also.
App working in Ripple,
Suggest a way to solve this problem.
Don't confuse displaying an app in Ripple to actually running it on a device or simulator.
In Ripple you only load the web resources of the application, just like you would do if previewing it via Worklight Console.
When you run the app in a device or simulator, it has been packaged into its native shell.
Edit your question with the full steps you have taken, from creating the project in Eclipse to adding the environment, any changes you've made there, to setup Ripple with the app and finally running it.