Building native iOS app Sencha 2 "Bundle Seed ID is missing from config file" - sencha-touch-2

I dont understand this error message, when I run the following command I get:
C:\projectsGit\mybipper\portal\bk-servlets\src\main\webapp\parentapp>sencha package build ../nativeBuild/packager.json
[INFO] The application was successfully packaged
Bundle Seed ID is missing from config file
Failed to package application
My packager.json is :
{
"applicationName":"MobileKids",
"applicationId":"TC3BU5LD52.com.bipper.mobilekids",
"versionString":"1.1",
"iconName":"icon.png",
"inputPath":".",
"outputPath":"../build",
"configuration":"Debug",
"platform":"iOS",
"deviceType":"Universal",
"certificatePath":"Certificate_key.p12",
"certificateAlias":"iPhone Developer: Thomas Vervik (TC3BU5LD52)",
"sdkPath":"C:/Program Files (x86)/Android/android-sdk",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}

This was a bug in ST2: http://www.sencha.com/forum/showthread.php?192946-2.0.1RC-Native-build-seem-to-be-broken&s=5fd0b1665305e83413dea48c9b4ee510
Are you running the latest version? Also, there are some workaround provided in the above post.

Related

Missing config.json stencil CLI

I'm trying to do some work for a client, but cannot get their bigcommerce site running locally. I have installed stencil CLI (v3.1.1) and downloaded the theme from the bigcommerce dashboard (all files). from the root of the theme i ran "stencil init", then "npm i" and "stencil start".
when i run stencil start, it throws an error saying there's no config.json file.
this is the error i get
How do i generate the config.json file?
The only config file I see is config.stencil.json.
I have also tried running "stencil pull" in hopes that it would pull the config, but it throws another error: "not ok -- Error: Could not fetch active theme details for channel 1: Request failed with status code 404"
Stencil-cli version:
3.1.1
Node version:
12
NPM version:
6.14.15
OS:
mac big sur
Stencil 3.1.1 has been deprecated for some time now. I believe the current version is 3.8. As of 4 months ago, anything below 3.5 will not run (https://developer.bigcommerce.com/changelog#publications/required-stencil-cli-version-set-to-3-5-0).
If you don't have a config.json file in your project, you will need to get the one from the client's store. Try downloading their theme again. It should come through.
Edit: It is possibly the case that you need a new API token. Try making a new one for your store. Make sure the following scopes are set:
Themes: Modify
Settings & Information: Modify
Sites & Routes: Read-only (or Modify)
Documentation for creating a new API account: https://support.bigcommerce.com/s/article/Store-API-Accounts#creating

Nativescript - cannot upload ipa file to itunes

I'm doing the following to upload my ipa file to itunes connect.
tns publish ios MY-ITUNES-ACCOUNT-EMAIL APP-SPECIFIC-PASSWORD -ipa app.ipa
I'm getting the following error - in red
{
"serviceErrors" : [ {
"code" : "-20101",
"message" : "Your AppleĀ ID or password was incorrect."
} ]
}
This used to work - about 2-3 weeks ago.
Seems to be problem with tns cli version. Stick to version 5.3.1 for now solves the issue.
I think tns publish ios command has been changed a bit for NativeScript 6. I can publish my apps like this now:
tns publish ios myuser#mydomain.com --appleApplicationSpecificPassword xxxx-xxxx-xxxx-xxxx --ipa myapp.ipa
You should change the values with your information, of course.
With this command, you will be prompted to enter you Apple ID password and 6 digit 2FA code. After that, the upload will start and finish as you expected.
Finally, here is the official documentation: https://docs.nativescript.org/tooling/docs-cli/publishing/publish-ios

No executable found matching command dotnet-projectmodel-server, VS2015

I am trying to build a new front end application with dotnet core but getting an error as below while to open the project.
i followed that answer but not working for me.
getting this error while trying to restore :
error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
running dotnet restore command gives below error :
error MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.1\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
I got the same problem yesterday.
Unfortunately, I don't know exactly what I was doing wrong, but I managed to solve my error.
I used the strategy on this page here
I added a global.json file in my Solution Items and I specified all the .xproj projects of my solution.
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-preview2-003121"
}
Hope it helps.
Running dotnet-restore solved this issue for me. This was after i had updated the global.js to tarket the specific SDK version.
https://learn.microsoft.com/en-us/dotnet/articles/core/tools/dotnet-restore

Issues with Sencha CMD v5.0.1.231 and beta v5.0.2.250 and phonegap

It has been awhile since I updated my Sencha CMD (currently running v4.0.4.84). I had successfully updated to Sencha CMD v5.0.1.231, however, while trying to init phonegap
sencha phonegap init com.example.www my-app my-app
I get the following errors in my log:
Sencha Cmd v5.0.1.231
[INF] Creating App
[ERR] The following error occurred while executing this line:
/bin/Sencha/Cmd/5.0.1.231/extensions/cmd-packager/cmd-packager.plugin.xml:131: org.mozilla.javascript.EvaluatorException: Function importClass must be called with a class; had "[JavaPackage java.nio.charset.StandardCharsets]" instead. (anonymous#3)
The same happens with beta v5.0.2.250.
I checked my java version and it is the latest (Java 7 Update 67)
After much tinkering, I have managed to get a clean build with no errors.
Here are my steps:
remove phonegap or cordova: sencha-4.0.4.84 cordova remove
Upgrade to new sencha cmd: sencha upgrade
Update app: sencha app upgrade
Add your build settings to your app.json
```
"builds": {
"web": {
"default": true
},
"native": {
"packager": "cordova",
"cordova": {
"config": {
// Uncomment the line below and add the platforms you wish to build for
//"platforms": "ios android",
"id": "com.company.myapp",
"name": "BaseCordova231"
}
}
}
}
Build your mobile app: sencha app build native
With that, it compiled without any errors, and the app runs in the simulator. Only problem is nothing is showing up.... I guess sencha CMD needs to catch up with my current phonegap v3.5.0-0.21.14.
I think the key problem I had was that I didn't remove cordova/phonegap when Sencha CMD was in v4.0.4.84.
Well, I will take a break from Sencha CMD 5, and use the reliable v4.0.4.84 for now.
I know that you had a sufficient version, so this is not a solution for you.
My app made the same JAVA errors and the solution for me was to upgrade the JDK. I had 1.6.0 which I upgraded to 1.8 and now it's working. Maybe his can help someone.
You need most recent JDK, NOT the JRE as per the Sencha documentation.
I am having the same issue with 5.0.1.231, I don't have a fix or explanation for the error in that version but since multiple versions of Sencha CMD can live side-by-side I put the path to the last version of Sencha CMD I had installed infront of my "sencha" command and was able to continue working.
~/bin/Sencha/Cmd/5.0.0.160/sencha phonegap init com.example.www my-app my-app
After some tinkering with my project I was able to get Sencha Cmd to work. I ended up making 2 changes:
1) Fixed syntax errors in my javascript files:
C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => })
2) Deleted the Sencha Cmd repo folder located at: /Users//bin/Sencha/Cmd/repo Sencha Cmd will rebuild this if it is missing.
I'm not sure which one of those changes actually corrected my issue, but those are the only 2 things I did in between it working and not working. And when I say "it" I mean specifically the sencha app build native command

Cannot package a debug application (cannot create .apk)

I am following this tutorial to create .apk file:
http://docs.sencha.com/touch/2-0/#!/guide/native_android
On step#4 when I run the following command nothing happens:
sencha package run packager.json
Absolutely nothing happens. There is no success/error message shown and command prompt is ready to take the next command.
Here is my config file for debugging:
{
"applicationName":"myApp",
"applicationId":"com.techleadz.myApp",
"iconName":"resources/icons/Icon~ipad_myApp.png",
"versionString":"1.0",
"outputPath":"build/",
"inputPath":"build/native/",
"configuration":"Debug",
"platform":"AndroidEmulator",
"deviceType":"Universal",
"certificatePath":"C:/Users/Administrator/.android/debug.keystore",
"certificateAlias":"androiddebugkey",
"sdkPath":"C:/android-sdk-windows/",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}
What I am doing wrong?
you have not specified a certificate password or an android list target you must have installed the disk image for the list target that you are trying to include and target must be atleast 7
Are you using Ubuntu ?
if so there is some problem in sencha tools for packaging for native.
Thanks