I have zipped my project folder and uploaded it to voltserver… I get this error:
index.html not found.
When I look in the project folder it is not there in any folder. How do I create this?
Thanks, Paul
I have zipped my project folder and uploaded it to voltserver… I get this error:
index.html not found.
When I look in the project folder it is not there in any folder. How do I create this?
Thanks, Paul
If you’re coming from AppStudio, use the Make Native App with VoltBuilder option on the Run menu. It sets everything up for you properly.
Much easier!
Thanks I just tried that and now I am getting this error:
Could not find 'Quick Planning' in config.xml.
Here is the first part of my config file:
<?xml version="1.0" encoding="UTF-8"?>
<widget
xmlns = "https://www.w3.org/ns/widgets"
id = "com.nsbasic.{id}"
android-versionCode = "{phoneGapBuildCounter}"
ios-CFBundleVersion = "{phoneGapBuildCounter}"
version = "{version}">
<name>{Quick Planning}</name>
<description>{Jet itinerary planner.}</description>
<icon src='{icon}' />
<preference name='SplashScreenDelay' value='2000' />
<preference name='AutoHideSplashScreen' value='true' />
<plugin name='cordova-plugin-splashscreen' source='npm' />
Remove the { and } brackets in your name definition - and in description too. They indicate the contents are a variable name to be filled in by AppStudio. Since you’ve filled in the actual values, the brackets are not needed.
Thanks George, that worked, but it builds only as a debug apk. It did not give me a debug for the app-store. I need to test it on my iPhone. Here is my voltbuilder json file:
{
"iosDevP12": "certificates/dev_p12.p12",
"iosDevP12Password": "somePassword",
"iosDevelopment": "certificates/AdHocDev.mobileprovision",
"iosDistP12": "certificates/dist_p12.p12",
"iosDistP12Password": "somePassword",
"iosDistribution": "certificates/QuickPlanning.mobileprovision",
"iosPackageType": "app-store",
"release": "debug"
}
There’s an easier way - AppStudio will generate the voltbuilder.json file for you automatically.
In Project Properties, scroll down to VoltBuilder and Cordova. Once there, you’ll see all the items you need to customize your build.
Hi George,
I did what you said. It is still building only for Android. I even selected app-store for the distribution type. I even upgraded to the Pro from Indy thinking that was the problem. Same… only apk.
I took out my voltbuilder json from my project folder and still same results.
Any ideas?
What is Cordova command set to in Project Properties: VoltBuilder and Cordova?
That’s what controls the kind of build.
it is set to emulate android … should I change it to run ios debug … or emulate ios ?
run ios --debug
OK, I ran in ios-debug. It did not build and the following error is at the bottom of the log file:
note: Building targets in dependency order
/platforms/ios/Quick Planning.xcodeproj: error: Provisioning profile "AdHocDev" has app ID "com.quickplanning.*", which does not match the bundle ID "com.nsbasic.Listgroup". (in target 'Quick Planning' from project 'Quick Planning')
warning: Run script build phase 'Copy www directory' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Quick Planning' from project 'Quick Planning')
** ARCHIVE FAILED **
xcodebuild: Command failed with exit code 65
2023-01-14 11:58:24,691 - error: Provisioning profile "AdHocDev" has app ID "com.quickplanning.*", which does not match the bundle ID "com.nsbasic.Listgroup". (in target 'Quick Planning' from project 'Quick Planning')
2023-01-14 11:58:24,691 - reset_keychain
2023-01-14 11:58:24,724 - Output:
2023-01-14 11:58:24,725 - Build failed c3fde9f1-0649-46a2-80b9-353d34071a48
2023-01-14 11:58:25,753 - Output:
The app id when you made your Provisioning Profile does not match app id in your job.
The app id in your job is set in config.xml:
<widget
xmlns = "https://www.w3.org/ns/widgets"
id = "com.nsbasic.{id}"
android-versionCode = "{phoneGapBuildCounter}"
ios-CFBundleVersion = "{phoneGapBuildCounter}"
version = "{version}">
It’s easier to fix config.xml.
Thank you George,
I got an ipa build!!! I’ll test it later this afternoon. Thanks so much for helping with this. You know things are not obvious until they are obvious!!!
** Do I need to continue using the pro or can I switch back to the indy plan and still get the debug ios/ipa files. I still need to test on a device as I continue to refine and finish my app.
Paul
Yes, an Indy Plan will let you do most iOS builds. Here’s the difference between Indy and Pro: