on 2022 Jan 19 6:51 AM
microsoftteams-image.png Hi Experts, I was having one strange issue while working with MDK SDK 6.x version in local dev setup(Mac OS) for development. After generating the iOS/Android project through .create_client command and trying to run it simulator/emulator, it comes with a empty screen(attached along with the post), with only options to update the app from online metadata which was previously deployed through mobile services. And after that the local changes doesn’t reflect on the build and unable to make any progress for development locally. Have tried with multiple SDK versions available in MDK 6.x, but this issue is coming up for all the versions, which is surprisingly new as it didn’t occur while working with 5.x versions of MDK SDK. Please advise accordingly.
I had the same issue when I migrated SAM 2010 to MDK 6. Try opening the workspace in Xcode and launching the simulator from there. It still errored for me, but at least the error was easier to investigate.
After migrating the code, the two problems I had were:
- The Xcode app was not explicitly called 'Xcode'. If you keep multiple versions and name them appropriately then it will not work. Update to Xcode 13 and make sure it's just called Xcode.
- Remove the sample ButtonStackModule extension. My publishes and app updates failed repeatedly until I deleted the extension folder included in the migration note.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The blank page is the default app definitions that get used when there is no bundled metadata in the create-client. Please share a screen shot of the expanded folder structure of your .mdkproject or reach out directly and share a copy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does your metadata project include any metadata extension controls? Have you migrated the controls and any rule imports to the MDK 6.x format?
Also, please pull and check the log from your simulator client. It may contain error messages related to why the App update isn't loading that will give you a pointer as to what is the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Yes the project includes extensions, and we have successfully migrated the entire code along with the .ts files of the extension control. Also for the the logs, I have checked them after uploading from simulator, and didn’t find any meaningful suggestions to narrow down on the issue I am having.
Please let me know if there is any possibility if we could sync up and check on the issue.
User | Count |
---|---|
72 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.