Bug Issue: Simulator Version and Xcode 7


Pages: 1

rob1221

  • Master Stencyler
  • *
January 13, 2016, 02:33:50 pm
I had to update my Macincloud server, and the change from Xcode 6 to 7 is causing problems with the iOS simulator version.  The only option is 9.2 even though that simulator isn't even installed.  Simulator testing through Stencyl does not work, although I did find an annoying workaround through modifying the command line.  Jon posted in this thread saying that OpenFL "recently fixed" the problem in October.  I don't know whether that fix has been pulled into Stencyl yet, or maybe the fix just didn't work.


rob1221

  • Master Stencyler
  • *
January 26, 2016, 08:59:58 pm


rob1221

  • Master Stencyler
  • *
February 05, 2016, 06:03:04 pm


captaincomic

  • Master Stencyler
  • *
March 07, 2016, 06:57:28 pm
Does it work if you include <set name="IPHONE_VER" value="x.x" /> in the "vars" section of res/res/mobile/hxcpp_config.xml
?

E.g.
Code: [Select]
<section id="vars">

<set name="IPHONE_VER" value="8.2" />

[ANDROID_JAVA]
[ANDROID_HOST]
<set name="ANDROID_SETUP" value="true" if="android" />
<set name="ANDROID_SDK" value="[STENCYL_PATH]/android-sdk-[PLATFORM]/" if="android" />
<set name="ANDROID_NDK_ROOT" value="[STENCYL_PATH]/android-ndk-r7b/" if="android" />
<set name="ANT_HOME" value="[STENCYL_PATH]/apache-ant/" if="android" />
</section>


Issue updated by captaincomic - March 09, 2016, 02:56:20 am
  • Status changed from New to Need Info


rob1221

  • Master Stencyler
  • *
March 09, 2016, 08:12:13 am
I don't know where that file is.


captaincomic

  • Master Stencyler
  • *
March 09, 2016, 08:37:05 am
It's in the source /res/res/mobile folder if you have access to that. Or you can unpack the sw.jar and then it's in /res/mobile.

Unpacking/repacking should work with "jar -xvf" and "jar -Mcvf" as mdotedot described here: http://gamedotdevelopment.blogspot.co.at/2015/12/stencyl-change-build-process.html


rob1221

  • Master Stencyler
  • *
March 09, 2016, 10:11:00 am
Quote
jar:file:/Users/user115851/Desktop/Stencyl-full/sw.jar!/res/logview4j/images/info.gif   false   INFO   1457545944229001122   stencyl.sw.util.StreamGobbler   [haxelib] Error: xcodebuild: error: SDK "iphonesimulator8.2" cannot be located.

I do have 8.2 installed though.  Maybe this error is related to why the various simulator versions don't show up in Stencyl either.
« Last Edit: March 09, 2016, 10:11:57 am by rob1221 »


Issue updated by captaincomic - May 03, 2016, 04:26:42 pm
  • Status changed from Need Info to New


rob1221

  • Master Stencyler
  • *
August 02, 2016, 05:17:01 am


DJEmergency

  • Level 2 Stencyler
August 25, 2016, 07:01:49 am
I wonder if this would be the same issue?


New attachment added by DJEmergency - August 25, 2016, 07:02:11 am


DJEmergency

  • Level 2 Stencyler
August 25, 2016, 07:03:03 am
I attached a log above. I can't compile to iOS and Mac.


Issue updated by Justin - September 13, 2016, 05:28:30 am
  • Issue Assigned from (none) to Justin


Justin

  • Master Stencyler
  • *
September 27, 2016, 06:24:59 am
I've overhauled simulator detection and iOS testing. This should be fixed. (Currently at b9256 for the record.)
  • Status changed from New to Resolved


Pages: 1

Details

  • Reported
    January 13, 2016, 02:33:50 pm
  • Updated
    September 27, 2016, 06:24:59 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    3.4.0 beta2
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Compiling/Testing Games

Tags


Attachments

* log-2016-08-18.zip (203.02 kB - downloaded 125 times.)