BB 10 WebWorks signing Doubts - blackberry-webworks

I have a doubt regarding signing and packaging in BB 10 WebWorks.
Is the signing key similar to normal smartphone signing keys or is it different for a playbook?
If so, where will be the signing keys installed in the folder.
I am getting signing issues.
D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>bbwp E:\A
ppBB10\HelloWorldBB10.zip -s E:\PackBB10 -g Pass123# -o E:\OutputBB10
D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>"D:\Progr
am Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7\dependencies\node
\node.exe" "D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0
.7\lib\bbwp.js" E:\AppBB10\HelloWorldBB10.zip -s E:\PackBB10 -g Pass123# -o E:\O
utputBB10
[INFO] Populating application source
[INFO] Parsing config.xml
[ERROR] Cannot sign application - failed to find signing keys
D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>
Can anyone help me on this
Regards
Rakesh Shankar.P

Issue was solved when i updated with latest beta SDK release of BB 10 Web Works(1.0.0.15).

Related

.Net7 MAUI app unable to debug/publish with iOS16/Xcode 14

I can debug on MyMac (Mac Catalyst) no problem but not on the simulator, I get the following errors in the Application Output:
xcodebuild[4480:64944] Writing error result bundle to /var/folders/wh/z7x5swm90fb6f6cxfp39760h0000gn/T/ResultBundle_2022-30-10_10-46-0020.xcresult
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find simctl 2> /dev/null' failed with exit code 16384: (null) (errno=Invalid argument)
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
I'm using VS17.4 (preview 5 I think, how do I check? It just says 17.4 build 2339) and Xcode 14 for the iOS 16 SDK. I've checked in Preferences > SDK Locations > Apple and everything looks as it should... I'm a Mac noob so is there just a setting I'm missing somewhere?
If I try to build the release for publish like so VisualStudio crashes!
dotnet publish -f:net7.0-ios -c:Release
Update:
I just dropped back to net6.0 and am getting the same error. I didn't have Xamarin.Mac installed but installing it made no difference.
Below are some more component details of VS:
Xamarin.iOS Version: 16.0.0.72 (Visual Studio Community)
Xcode 14.0.1 (21336)
Xamarin.Mac Version: 8.12.0.2 (Visual Studio Community)
I can also see that the directory referenced does exist, or is it not supposed to look like that?
I had two version of Xcode installed which seems to have confused things. Uninstalling both then reinstalling 14 has fixed the issue.

Ionic and Crosswalk Can’t Generate Signed APK

I am trying to add crosswalk to my ionic. My apps are launched and working fine. However after I added Crosswalk, I can't generate signed apks anymore. I tried to remove crosswalk and it works again. How did you guys manage to get it working?
Here's what I did:
cordova plugin add cordova-plugin-crosswalk-webview
cordova platform add android
ionic build android
it builds fine except:
BUILD SUCCESSFUL
Total time: 1 mins 34.909 secs
Built the following apk(s):
<--- this part is empty, usually it'll show the path of the apk generated
In Android Studio I get this error for the gradle sync.
NDK integration is deprecated in the current plugin.
When I try to generate signed apk, I get this error:
Missing Gradle Project Information. Please check if the IDE successfully synchronized its state with the Gradle Project Model.
I tried cordova platform add android#4.1, instead of using latest one. And I was able to build it with sdk 22.
However when I try to publish, I'm getting this problem.
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 103098 (target SDK 23) to version 104004 (target SDK 22).
The steps I followed to get signed apk is as-
open terminal and go to android file
$ cd projectDir/platforms/android
and run this command to generate digital signature
$ keytool -genkey -v -keystore exampleapp.keystore -alias example -keyalg RSA -keysize 2048 -validity 10000
# This will create a file in you "projectDir/platforms/android" directory with a name of exampleapp.keystore which will have digital signature.
# Now Create a file with name of release-signing.properties here in
projectDir/platforms/android directory.
# Provide details to this file about your signature.
*# signed apk details
storeFile=exampleapp.keystore
keyAlias=mindfull
storePassword=password
keyPassword=password*
Go to terminal and exit to main project directory by typing
$ cd ../..
Run this command to build signed apk.
$ cordova build android --release
this will run many task and show something like this-
Now you can upload this apk on play store and share with your friend.
Have a nice day !!!
For more you can see here
https://randvblog.wordpress.com/2016/07/04/generate-signed-apk-for-android-using-gradle-for-cordova-6-0-0-in-ionic/

cordova build error: SDK "iphoneos6.0" cannot be located

i developing a html5-App for Android and iOS. Building for Android and iOS-Simulator works like a charm. But if i want to build the app for iOS-Device the build process stops with following error:
update-ios:
cordova prepare ios
build-ios-xcodebuild:
xcodebuild: error: SDK "iphoneos6.0" cannot be located.
/Users/.../nbproject/build.xml:178: exec returned: 64
For development i using netbeansIDE, xcode 5.1.1 and cordova 3.5.
Also i downloaded the iOS 6.1 sdk and copied into sdk folder of xcode, but that don't work for me. May i have to set an environment variable?
Is there someone, who could give me a hint?
In advance

iOS - Building VLC for iOS - Please install required SDK, or set SDKROOT manually

I have upgraded my xcode to 4.5, now I am Building VLC for iOS and countered that SDK version 5.1 not found. I have fully installed all the sdk's in my xcode 4.5
Mac-Muhammad-Umair-Mirza:vlc muhammad.umair$ ./extras/package/ios/build.sh
[info] Building libvlc for the iOS
[info] Using armv7 with SDK version 5.1
usage: dirname path
SDKROOT not specified, assuming /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
*** /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk does not exist, please install required SDK, or set SDKROOT manually. ***
Please help me out in finding the solution.
Do the following:
export /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.*.sdk
where "*.*" is your current SDK (for instance 6.1).

Titanium won't run iPhone/Android Emulator

I just installed Titanium SDK (1.5.1) and all the Android SDKs.
Also, I already have iPhone SDK 4.2 installed.
I downloaded KitchenSink and imported it into Titanium but whenever I try to run it on iPhone Emulator, I get this error:
[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.5.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.0
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for ios
[INFO] Performing clean build
[INFO] Compiling localization files
[INFO] Detected custom font: comic_zine_ot.otf
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1003, in main
execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 925, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1
And for Android, it runs the OS but not the KitchenSink app, here's the log:
[INFO] Launching Android emulator...one moment
[INFO] Building KitchenSink for Android ... one moment
[INFO] plugin=/Library/Application Support/Titanium/plugins/ti.log/0.1/plugin.py
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for android
[INFO] Titanium SDK version: 1.5.1 (12/16/10 16:25 16bbb92)
[INFO] Waiting for the Android Emulator to become available
[ERROR] Timed out waiting for android.process.acore
[INFO] Copying project resources..
[INFO] Detected tiapp.xml change, forcing full re-build...
[INFO] Compiling Javascript Resources ...
[INFO] Copying platform-specific files ...
[INFO] Compiling localization files
[INFO] Compiling Android Resources... This could take some time
Any ideas on how to get Titanium to work?
I finally managed to fix it.
About the adb file, just copy or symlink it from /platform-tools to /tools and Titanium will recognize the SDK.
About the Titanium errors, here's what I did:
1 - First I downloaded the latest Titanium SDK build (1.6.0) from http://builds.appcelerator.com.s3.amazonaws.com/index.html
2 - Installed it by unzipping the file's contents (a folder called 1.6.0) /Library/Application Support/Titanium/mobilesdk/osx
3 - I then uninstalled my Xcode 1.2.5 with SDK 4.2
NOTE: If you have other versions of Xcode installed, REMOVE them and only reinstall the latest version of it, or Titanium will not work. (At least that was the case with me)
4 - Uninstalled Titanium
5 - Reinstalled Xcode with SDK 4.2
6 - Reinstalled Titanium
7 - Open it, create or try to run an old project and it will work for both iPhone and Android.
Hope it helps.
Cheers.
Exactly the same error here - really frustrating. I'm a pretty seasoned coder but Titanium has just sucked the life out of me today. Errors finding adb in the latest Android SDK so I needed to use an older SDK and now this - vanilla install - nothing wacky going on, followed their instructions perfectly but not dice. I know I haven't paid for anything yet but it still pisses me off that developers overpromise the readiness of software that obviously isn't ready for primetime.
Finally, I managed to fix my version of this issue (iPhone sim - I haven't tried Android).
First, upgrade xcode and the IOS SDK to a recent version (4.2 in my case)
Then open the projet in xcode. The file is /build/iphone/yourproj.xcodeproj
Then you will see that there is no Base SDK selected.
Select the SDK by the following menus...
XCode \ Project \ Edit Project Settings \ Build \ Base SDK - iOS Device 4.2
XCode \ Project \ Edit Active Target ‘[project name]’ \ Build \ Base SDK - iOS Simulator 4.2
Build the project in xcode (it'll probably fail)
Save and exit. Go back to Titanium and the project should now build.
Bit of a headache to get started, but there you are.