Hello, I am confused about the 2 different iOS packaging options.
You can run 'sencha app build native'.
Then there is 'sencha package build packager.json'.
With the first one their is a link on its page to go to the second one's page for more details on the Native Package guide.
When running the second one, it creates the .app folder, and in the webapp folder is the webapp, but it is not minimized. It still has all of the same files and folders. The icon it creates is empty, so I have to replace it with the actual icon. I get all of this loaded in Xcode, and it creates the app on my device, but I just get a black screen.
When running the first one, it creates the .app folder, and in the webapp folder is the webapp and it is minimized as expected. The icon it creates is empty, so I have to replace it with the actual icon. I get all of this loaded in Xcode, and creates the app on my device and it works as expected.
So my questions are, why are there the two different options and why does the sencha package one not work, and should the app icon be created correctly, or is it common for it to come out blank and you have to replace it with the actual icon?
Yeah, I think 'sencha app build native' works much better.
I do have a few questions regarding it:
When you run this build it creates a 'native' folder and a 'package' folder. Why does it create the package folder. From what I can tell it is not needed. Does it have any type of purpose?
In my app.js, I have my two startup up image set, my four different icons set, and my glossOnIcon set to false. When I do the build it puts my four icons and my two startup images in the root of the webapp folder, which does not seem to do anything, because outside the webapp folder is an he icon that is created it blank, so I have to replace it with the actual icon. When I import it all into Xcode to test, the icon has the gloss on it, and their is no startup image. I looked in Info.plist and their is no entries for my icons, the glossOnIcon, or for the startup image. If I create these entries in the Info.pst file and save it, then when I try to import it into Xcode, it tells me that my signature is invalid. How do I get around all of this so it works correctly?
If you do a production build, it does a testing build and then minifies it (among other things). If you do a native build, it does a package build and then makes the native app from that package build. The package build is if you use PhoneGap it will create what you need to put it into a PhoneGap app. This is why you see the package directory because it runs the package build.