Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 03 06:50
    dkimitsa commented #314
  • Oct 01 09:41
    yahel-ck commented #314
  • Sep 25 17:24
    dkimitsa opened #686
  • Sep 25 15:29
    ollydixon commented #681
  • Sep 25 15:19
    dkimitsa opened #685
  • Sep 25 09:54
    davidgiga1993 commented #681
  • Sep 24 09:49
    MrStahlfelge opened #684
  • Sep 14 13:06
    davidgiga1993 commented #556
  • Aug 30 13:55
    dkimitsa synchronize #653
  • Aug 30 13:19
    Tom-Ski closed #668
  • Aug 30 13:19

    Tom-Ski on master

    * fixed: de-sugared ByteBuffer … Merge pull request #668 from dk… (compare)

  • Aug 30 13:18
    Tom-Ski closed #673
  • Aug 30 13:18
    Tom-Ski closed #675
  • Aug 30 13:18

    Tom-Ski on master

    * fixed #673: allow x86_64 arch… Merge pull request #675 from dk… (compare)

  • Aug 30 13:18
    Tom-Ski closed #683
  • Aug 30 13:18

    Tom-Ski on master

    * fixed 682: Subscription APIs … Merge pull request #683 from dk… (compare)

  • Aug 30 13:12
    guillerodriguez commented #682
  • Aug 27 14:09
    dkimitsa commented #682
  • Aug 27 14:08
    dkimitsa opened #683
  • Aug 25 14:14
    guillerodriguez opened #682
Dũng Trần
@dunno7
image.png
Please show me how to fix it. Thanks!
2 replies
Demyan Kimitsa
@dkimitsa

Libcore 12 (was 10) update, build 3 v10.2.2

Major changes to Libcore10 experiment:

  • rearranged location of source files pulled from google: module folder contains same structure as in Google repo, means both Java and native classes (were moved from VM folder)
  • Libcore 10 replaced with Libcore 12;
  • bro-bridge separated from RT code into stand-alone library;
  • JNI code massively adapted to use fully qualified JNI names for functions instead of registerNatives. This allows to keep dependency only to used code;
  • @ForceLinkClass annotation moved to RT code from bro-bridge and now recognised and processed by compiler. Otherwise methods might be dropped if not directly used in Java code which breaks references from JNI;
  • RT code covered with @ForceLinkClass annotation to reference dependencies in places where classes are used indirectly. It makes RoboVM usage more smooth for beginners e.g. they don't need to bother with ClassNotFound exceptions in very basic code

Also updated with MobiVM base and it includes changes from 2.3.18 release

Idea snapshot is attached to release page
https://github.com/robovmx/robovmx/releases/tag/x2-libcore12-v10.2.2-20220819
Also artefacts deployed to sonatype repository and accessible in com.rovovmx group under 10.2.2-SNAPSHOT version

8 replies
Dũng Trần
@dunno7
@dkimitsa : Does AFNetworking support for simulator?
Demyan Kimitsa
@dkimitsa
@dunno7 its third party framework and you should check on their page. But most likely iy does support simulator
wangdong20
@wangdong20
how can I add the App Attest capability to your app?
how can I find project's .entitlements file,
11 replies
Screen Shot 2022-08-23 at 8.38.37 PM.png
AlejandroVazquez
@avazquezdev

Hello!
I am testing robovm with a Mac M1 and when I run the gradle command to launch the app.

./gradlew clean launchIPhoneSimulator -Probovm.arch=arm64

I get the error:

Failed to execute the task ':launchIPhoneSimulator'.
> A matching device could not be found [arch=arm64-simulator, family=iPhone, name=null, version=null]

If I don't specify the architecture, it works but compiles for x86_64.

...
> Task :launchIPhoneSimulator
Caching disabled for task ':launchIPhoneSimulator' because:
  Build cache is disabled
Task ':launchIPhoneSimulator' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Building RoboVM app for: ios (x86_64-simulator)
...
9 replies
aleksdev
@aleksdev
Just got my last update rejected with this description: "ITMS-90433: Invalid Swift Support - The file libswiftCore.dylib doesn’t have the correct code signature. Make sure you’re using the correct signature, rebuild your app using the current public (GM) version of Xcode, and resubmit it. Don’t just modify the code signature of libswiftCore.dylib." But there is no update available for xcode, installed version is 13.4.1 (13F100). Mobivm version is 2.3.18. All previous updates was accepted. How to fix this problem?
4 replies
wangdong20
@wangdong20

Hi, I just got log like this:

Cannot find an ad network adapter with the name(s): GADMAdapterUnity. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.

After I add unity ad framework and unity ad adapter framework in lib

26 replies
AlejandroVazquez
@avazquezdev

Hi, all!!
In older versions of robovm UIWindow.Notifications.observeKeyboardWillShow returned an NSObject object. In newer versions of robovm it returns a NSObjectProtocol.

What would be the correct way to remove this (NSObjectProtocol) observer?
For older versions I was using NSNotificationCenter.getDefaultCenter().removeObserver but the argument it's a NSObject.

Code 51
@code51_twitter

I'm struggling with uploading my IPA for Test Flight:
"Asset validation failed (90161)
Invalid Provisioning Profile. The provisioning profile included in the bundle com.example394.app [Payload/IOSLauncher.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. (ID: 7c6772a9-e092-4a35-8313-1150a7e293c0)"

How can I get past this error?

11 replies
wangdong20
@wangdong20

Hi, I got error log after trying to implement Facebook Audience Network framework.
I already add FAN sdk and FAN adapter in robovm.xml.

<framework>FBAudienceNetwork</framework>
    <framework>MetaAdapter</framework>

The error log is:

framework not found FBSDKCoreKit
23 replies
Guillermo Rodríguez
@guillerodriguez

Hi @avazquezdev,

Please check out MobiVM/robovm#682

Wheeler Games
@wheelergames_gitlab
Hi @dkimitsa I'm just trying to get a CI setup working using an old app that used to work fine, and I've moved from 2.3.16 to 2.3.18, and am getting the following error.
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/FirebaseCore.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/FirebaseCoreDiagnostics.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/FirebaseInstallations.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/GoogleDataTransport.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/GoogleUtilities.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/nanopb.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAnalytics/PromisesObjC.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAuth/FirebaseAuth.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseAuth/GTMSessionFetcher.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseCrashlytics/FirebaseCrashlytics.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseMessaging/FirebaseInstanceID.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseMessaging/FirebaseMessaging.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/FirebaseMLModelInterpreter/Protobuf.xcframework/ios-armv7_arm64'
ld: warning: directory not found for option '-F/Users/runner/work/wordsy/wordsy/ios/libs/Google-Mobile-Ads-SDK'
ld: framework not found FirebaseAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)
3 replies
image.png
Wheeler Games
@wheelergames_gitlab
Ignore me, I had removed them from my repo, due to them being massive and not really being necessary to store. They might be now that I'm running on a CI machine, so might have to look into a clever way of pulling them and saving them as part of the build script....
Dũng Trần
@dunno7
Could we use this banner style in ios native app?
2 replies
obigu
@obigu
@dkimitsa Not sure if this is the best place to report but Firebase has changed the framework dependencies on recent versions (has been introducing changes for several releases) and at least the latest alt-pod is not up to date. So that you know if you get a chance to have a look on the next iteration and for users to be aware latest pod may complain.
3 replies
Wheeler Games
@wheelergames_gitlab
thanks @obigu
lucas-kakele
@lucas-kakele

hey folks! I'm trying to symbolicate a crash report here but the atos command line tool is not providing me good results

crash: https://justpaste.it/3y7hp

libGDX: 1.11.0
robovm: 2.3.16

I'm trying:

atos -o IOSLauncher.app/IOSLauncher -arch arm64 -l 0x104a1c000 0x000000010653e610

which outputs:

0x0000000101b22610 (in IOSLauncher) + 128

any ideas of what I'm doing wrong?

19 replies
Demyan Kimitsa
@dkimitsa
Another nice bug that can be observed in sept:
Andoid12+ updated to ICU68-2 which brings more recent CLDR (same true for Java17+) where short form of september was changed "Sep" to "Sept". this means that DateFormat will fail to parse short form date that received from servers running old versions of Java (<17). For example "Last-Modified" field in http response.
This is also affectst Libcore12 branch of RoboVM which uses ICU68-2
8 replies
jmacre
@jmacre
Hi, I have a dumb question. So I was able to get RoboVM to run the iPhone simulator from android studio. It was running the built in "click me" test
I'm just wondering how I'm supposed to get it to use my code (for my android/libgdx game) instead of the placeholder test code
3 replies
jmacre
@jmacre
Honestly at this point I'd be willing to pay someone to help with this lol
fgnm
@fgnm
Hi! Looks like I cannot compile latest Spine 2D runtime, any idea? I think I never seen this kind of error before
[ERROR] 22:13:17.155 Undefined symbols for architecture arm64:
[ERROR] 22:13:17.155   "_[j]java.lang.Object.getClass()Ljava/lang/Class;[lookup]", referenced from:
[ERROR] 22:13:17.159       _[J]com.esotericsoftware.spine.SkeletonRenderer.draw(Lcom/badlogic/gdx/graphics/g2d/Batch;Lcom/esotericsoftware/spine/Skeleton;)V in SkeletonRenderer.class.o
[ERROR] 22:13:17.383 ld: symbol(s) not found for architecture arm64
[ERROR] 22:13:17.431 clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] Couldn't compile app
3 replies
Benjamin Schulte
@MrStahlfelge
Hi, could it be that printing a huge amount of text at once to the console makes the app freeze when started from IDE (so that IDE is connected to the log output)? I investigated a problem where my app freezed when run from IDE, and it looks like it was caused by a System.print.out of a huge json. Wanted to ask if this is a known problem here before checking if this is really my problem cause.
Demyan Kimitsa
@dkimitsa
@MrStahlfelge device or sim?
5 replies
lastpeony
@lastpeony
Hello guys can i run a libgdx instance in IOS app using robovm ?
I am not talking about converting a standalone libgdx game to work in ios, like an ios app but in one page libgdx will run
wangdong20
@wangdong20

Hi, I just got crash information from Xcode organizer crash window. It says: UIKitCore: -[UIResponder doesNotRecognizeSelector:]

The crash is from SKStoreReviewController.requestReviewInScene(getWindow().getWindowScene());

6 replies
wangdong20
@wangdong20
Screen Shot 2022-09-16 at 3.43.44 PM.png
Bruno
@bruno-kakele

Hi there! Does anyone know of any reason why the dSYM file generated by createIPA would be empty? (no debug information whatsoever). What is odd is that this happens only sometimes, and other times the dSYM is correctly generated. From the logs I can't see any errors either:

...
Installing Info.plist to /Users/runner/game/ios/build/robovm/IOSLauncher.app
xcrun dsymutil -o /Users/runner/game/ios/build/robovm/IOSLauncher.app.dSYM /Users/runner/game/ios/build/robovm/IOSLauncher.app/IOSLauncher
xcrun strip -x /Users/runner/game/ios/build/robovm/IOSLauncher.app/IOSLauncher
...

(the logs output is the same when the dSYM is 'corrupted' when comparing to when it is correct)
Using robovm 2.3.18. What could I try to obtain more information about the results of the generation of the dSYM folder contents?
Thanks in advance

2 replies
fdspbsteam
@fdspbsteam
HI, can some one provide a link where I can found Adjust interop, java to C code, something like this
public class Adjust extends NSObject
7 replies
fgnm
@fgnm
I think there's a bug with Media.xcassets folder because whatever I add or remove from that folder doesn't change anything to the final build.. I tried to clear app cache, global robovm cache and any temp directory inside the project but nothing seems working.. How can I force robovm to generate again assets.car binary?
3 replies
fdspbsteam
@fdspbsteam
MobiVM/robovm#600
regarding this issue, need to run an empty ios project on the device?
fdspbsteam
@fdspbsteam

[ERROR] Couldn't start application
org.robovm.libimobiledevice.LibIMobileDeviceException: ApplicationVerificationFailed
at org.robovm.libimobiledevice.util.AppLauncher$1.error(AppLauncher.java:1006)
at org.robovm.libimobiledevice.Callbacks.callInstproxyCallback(Callbacks.java:64)

roboVMVersion = '2.3.18'

Any idea?

fdspbsteam
@fdspbsteam

[ERROR] Couldn't start application
org.robovm.libimobiledevice.LibIMobileDeviceException: ApplicationVerificationFailed
at org.robovm.libimobiledevice.util.AppLauncher$1.error(AppLauncher.java:1006)
at org.robovm.libimobiledevice.Callbacks.callInstproxyCallback(Callbacks.java:64)

roboVMVersion = '2.3.18'

Any idea?

resolved-substituted the correct certificate

Benjamin Schulte
@MrStahlfelge
@dkimitsa I have reported a new discovered issue MobiVM/robovm#684 - let me know if you need some more infos. It would be great to get that fixed or at least a work around, because when can't know beforehand if the UIImage can get instantiated
5 replies
David
@davidgiga1993
A more broad question but has anyone already tried using graalvm native image for ios? I've researched quite a bit but the only samples were either headless libraries or java fx with gluon. The reason I'm asking is that I'm using graalvm native image a lot at work and it works very well, it's just lacking the OS bindings which robovm has. Don't get me wrong, I love robovm but writing java 8 when there is java 19 available is quite dull sometimes. So maybe it would make sense in a long term perspective to use graalvm as a JVM backend and use the robovm code generator to build the iOS specific bindings?
6 replies
LordTylus
@LordTylus

Hello there, I try to launch my App via Gradle Command Line on my device which currently fails for not providing a signing identity and provisioning profile via command line. (My build-gradle has the identities for distribution configured) for developing I use different credentials.

How do I pass those via command line?

LordTylus
@LordTylus
Disregard... -Probovm.iosSignIdentity and -Probovm.iosProvisioningProfile seem to have done the trick. At least its not failing immediately again
LordTylus
@LordTylus
Is there a way to select the iOS Signing Identity by name pattern?
4 replies
fdspbsteam
@fdspbsteam

2022-09-28 11:23:59.170 INFO: Show Progress: Analyzing package…
2022-09-28 11:25:02.619 INFO: Show Progress: Sending analysis to App Store Connect…
2022-09-28 11:25:04.218 INFO: COMPLETED - PART 1
2022-09-28 11:25:04.337 INFO: COMPLETED - PART 2
2022-09-28 11:25:04.341 INFO: Show Progress: Waiting for App Store Connect analysis response…
2022-09-28 11:25:41.293 ERROR: Asset validation failed (90179) Invalid Code Signing. The executable 'Payload/com.xxxx.ios.app/com.xxxx.ios' must be signed with the certificate that is contained in the provisioning profile. (ID: xxxxxx)

I have got this error, I have completely rechecked my certificate, what gone wrong?

LordTylus
@LordTylus
your provisioning profile is not correct if you created a new signing cert you need to also recreate the provisioning profile to include the new signing cert in order to sign an app to be launched on the device. The latter you do in your apple developer account. Not sure if Xcode can do that for you as well
LordTylus
@LordTylus

@dkimitsa: Is there a recommended way of getting Runtime Only project dependencies into RoboVM?

We have started restructuring our project to be less monolithic and only give direct access to project direct access is really needed to, so there are a few dependencies only provided via "implements" in gradle instead of "api". IDEA Marks them as runtime only.

Compilation with RoboVM works fine, but launching the app results in NoClassDefFoundErrors when one of my actual dependencies tries to access those.

If I make sure to manually build that dependency so there is a jar in its respective lib folder it works correctly, but apparently when robovm is doing its thing it seems to not bother compiling runtime dependenies, while those obviously also have to be present in RoboVM Runtime.

I am trying to workaround it by having a fat jar built that includes runtime dependencies, but this feels a little wrong to me, so I was wondering if I am doing something wrong.

My project tree looks like this Root
Root Project

  • Commons
  • Persistence
    -- Web-API
  • iOS

Persistence has WebAPI marked as implements because its not supposed to be exposed to iOS.

iOS has Persistence marked as implements. And therefore gets a Runtime Only dependency to WebAPI

It would probably work if I set WebAPI to "api" in gradle, but I dont want direct access to Web-API in my iOS Project.

Do you have any idea?

3 replies
obigu
@obigu
After updating to 2.3.18 the .dsym and .ipa file sizes have changed quite a bit, I guess because we are now embedding the debug symbols in the .ipa. Dsym file has decreased from 76MB to 9.7MB (the IPA has increased in same amount), the question is, when we upload the .dsym file to Firebase Crashlytics, will it contain all the required symbols now that they appear to be inside the ipa?
6 replies