iOS support? #15

Closed
opened 2014-07-08 07:13:46 -07:00 by hex · 8 comments
hex commented 2014-07-08 07:13:46 -07:00 (Migrated from github.com)

Will there be any iOS support? Right now it fails compiling.

Cross compilation job Ionic.Zlib.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler --aot=full,asmonly,nodebug,static,outfile="Ionic.Zlib.dll.s" "Ionic.Zlib.dll"  current dir : /Users/hex/Webplayer-Socket NetEase/Temp/StagingArea/Data/Managed
 Env: DISPLAY = '/tmp/launch-RlDnwf/org.macosforge.xquartz:0'
Apple_PubSub_Socket_Render = '/tmp/launch-uUCwHn/Render'
LOGNAME = 'hex'
__CHECKFIX1436934 = '1'
MONO_PATH = '/Users/hex/Webplayer-Socket NetEase/Temp/StagingArea/Data/Managed'
ENABLE_CROSSDOMAIN_LOGGING = '1'
TMPDIR = '/var/folders/ln/tky5wdmj0535jh18srs_sljr0000gn/T/'
USER = 'hex'
SSH_AUTH_SOCK = '/tmp/launch-7c0Nfz/Listeners'
GC_DONT_GC = 'yes please'
Error building Player: UnityException: Cross compilation failed.
Will there be any iOS support? Right now it fails compiling. ``` Cross compilation job Ionic.Zlib.dll failed. UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler --aot=full,asmonly,nodebug,static,outfile="Ionic.Zlib.dll.s" "Ionic.Zlib.dll" current dir : /Users/hex/Webplayer-Socket NetEase/Temp/StagingArea/Data/Managed Env: DISPLAY = '/tmp/launch-RlDnwf/org.macosforge.xquartz:0' Apple_PubSub_Socket_Render = '/tmp/launch-uUCwHn/Render' LOGNAME = 'hex' __CHECKFIX1436934 = '1' MONO_PATH = '/Users/hex/Webplayer-Socket NetEase/Temp/StagingArea/Data/Managed' ENABLE_CROSSDOMAIN_LOGGING = '1' TMPDIR = '/var/folders/ln/tky5wdmj0535jh18srs_sljr0000gn/T/' USER = 'hex' SSH_AUTH_SOCK = '/tmp/launch-7c0Nfz/Listeners' GC_DONT_GC = 'yes please' ``` ``` Error building Player: UnityException: Cross compilation failed. ```
andyburke commented 2014-07-09 11:08:42 -07:00 (Migrated from github.com)

Looks like this might have to do with some compilation settings and/or an older ionic.zlib.dll file?: http://www.arongranberg.com/forums/topic/ios-problem/#post-2295

I'd welcome any pull requests to fix the issue/make this less likely.

Looks like this might have to do with some compilation settings and/or an older ionic.zlib.dll file?: http://www.arongranberg.com/forums/topic/ios-problem/#post-2295 I'd welcome any pull requests to fix the issue/make this less likely.
kronenthaler commented 2014-08-01 08:01:25 -07:00 (Migrated from github.com)

I had this same error. The solution i found was to change the "API compatibility level" to .NET 2.0 instead of .NET 2.0 subset.

I had this same error. The solution i found was to change the "API compatibility level" to .NET 2.0 instead of .NET 2.0 subset.
hboylan commented 2014-08-12 07:27:25 -07:00 (Migrated from github.com)

Automated solution is to set ApiCompatibilityLevel in an Editor script. Otherwise just remember to set it

Automated solution is to set [ApiCompatibilityLevel](http://docs.unity3d.com/412/Documentation/ScriptReference/ApiCompatibilityLevel.html) in an Editor script. Otherwise just remember to set it
igorhosantos commented 2014-10-24 07:01:32 -07:00 (Migrated from github.com)

It is possible to use the plugin with the project in .NET subset?
I'm using sqlite and accurate database that is in .NET subset

It is possible to use the plugin with the project in .NET subset? I'm using sqlite and accurate database that is in .NET subset
hboylan commented 2014-10-24 07:25:14 -07:00 (Migrated from github.com)

In my experience, no.
However, it may be better to connect to the database via a web service... depending on the project.

In my experience, no. However, it may be better to connect to the database via a web service... depending on the project.
igorhosantos commented 2014-10-27 04:31:27 -07:00 (Migrated from github.com)

I found the problem. I'm using a plugin for sqlite database, he has no problem when I try to update, but it crash my application.
I changed the "Api Compatibility Level " to ".NET 2.0" to ".NET 2.0 Subset" and updated the plugin's settings.
Thank you for all support !

I found the problem. I'm using a plugin for sqlite database, he has no problem when I try to update, but it crash my application. I changed the "Api Compatibility Level " to ".NET 2.0" to ".NET 2.0 Subset" and updated the plugin's settings. Thank you for all support !
sagivo commented 2015-01-08 01:45:06 -08:00 (Migrated from github.com)

@Hsantos you just saved my day! i spent hours on it! thank you.

@Hsantos you just saved my day! i spent hours on it! thank you.
igorhosantos commented 2015-01-08 03:36:49 -08:00 (Migrated from github.com)

Thank's @sagivo ,
I'm glad :)

Thank's @sagivo , I'm glad :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
andyburke/UnityHTTP#15
No description provided.