I have figured out the solution. I am working on 4.26. I was getting the same error which is “Remote compiling requires a server name”, I did following steps;
- Created completely new project specific for mobile, blueprints, and no starter content.
- Copied the content folder from the previous project into this newly created project
- Once done with copying, open the new project and go to project settings > IOS; import provision and certificate. Also add the bundle name and identifier same as in the previous project.
- Go to packaging > list of maps to include in a package build. Add your specific maps you want to build (optional step/if you get cook failed error then try this)
- Once done with all the above steps, go to File > Package project > iOS