Skip to content

Conversation

waynedyck
Copy link
Contributor

@waynedyck waynedyck commented Nov 28, 2016

Build fails when attempting to run tests for robovm-maven-resolver as the
2.2.0-SNAPSHOT cannot be found in Sonatype Nexus Snapshots. Updating to use the 2.2.1-SNAPSHOT one instead.

Also, when compiling the following error was thrown for the PHAssetResourceRequestOptions class:

Compiling org.robovm.apple.photos.PHAssetResourceRequestOptions (ios x86 release)
java.lang.IllegalArgumentException: No @Marshaler found for return type of @Bridge method <org.robovm.apple.photos.PHAssetResourceRequestOptions: org.robovm.objc.block.VoidBlock1 $m$progressHandler(org.robovm.apple.photos.PHAssetResourceRequestOptions,org.robovm.objc.Selector)>

Adding the @Block annotation to the two VoidBlock1 instances appears to correct it.

Build fails when attempting to run tests for robovm-maven-resolver as the
2.2.0-SNAPSHOT cannot be found in Sonatype Nexus Snapshots.
Compiling this class without the @block annotation produces the following
IllegalArgumentException:

No @marshaler found for return type of @bridge method
<org.robovm.apple.photos.PHAssetResourceRequestOptions:
org.robovm.objc.block.VoidBlock1 $m$progressHandler
(org.robovm.apple.photos.PHAssetResourceRequestOptions,org.robovm.objc.Selector)>
@waynedyck waynedyck changed the title Use latest version of snapshot for robovm-maven-resolver Fixes for build and compiler errors Nov 28, 2016
@florianf
Copy link
Collaborator

Thanks for your effort, I'll take a look in the coming days. @MobiDevelop can you look at the maven changes?

@florianf florianf merged commit 70bcb61 into MobiVM:master Dec 2, 2016
@florianf
Copy link
Collaborator

florianf commented Dec 2, 2016

Merged, checked it compiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants