• C
    Cambiata

    Wrong. It has high priority, in the sense of "How-much-can-we-earn-on-causing-troubles-with-compatibility-issues..?"

    posted in Kode read more
  • C
    Cambiata

    Thank you, Rob!
    So, finally it builds and ... runs... almost!

    Bloody hell, Apple, get your shit together..!

    ios.png

    posted in Kode read more
  • C
    Cambiata

    Thanks!

    One step closer:
    osx-build: Building and running for Mac desktop works fine
    ios-build: Building for physical iPad 2018 9'7 device now works fine until the linking step. Seems related to Kore::System::showsKeyboard() from what I can tell from the log output below.

    Ideas?

    /clang:-1: linker command failed with exit code 1 (use -v to see invocation)
    
    Undefined symbols for architecture arm64:
      "_kinc_keyboard_active", referenced from:
          Kore::System::showsKeyboard() in System-997655bb3c51406d12fe3f3812c44f301d4f75e58cf1c440342676fd3f9ccf2f.o
    ld: symbol(s) not found for architecture arm64
    
    Ld /Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Products/Debug-iphoneos/New\ Project.app/New\ Project normal arm64 (in target: New Project)
        cd /Users/Hanna/Desktop/Jonas/testKhaIos2/Build/ios-build
        export IPHONEOS_DEPLOYMENT_TARGET=8.0
        /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Products/Debug-iphoneos -F/Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Products/Debug-iphoneos -filelist /Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Intermediates.noindex/New-Project.build/Debug-iphoneos/New\ Project.build/Objects-normal/arm64/New\ Project.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Intermediates.noindex/New-Project.build/Debug-iphoneos/New\ Project.build/Objects-normal/arm64/New\ Project_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-arc -fobjc-link-runtime -framework Metal -framework UIKit -framework Foundation -framework CoreGraphics -framework QuartzCore -framework CoreAudio -framework AudioToolbox -framework CoreMotion -framework AVFoundation -framework CoreFoundation -framework CoreVideo -framework CoreMedia -Xlinker -dependency_info -Xlinker /Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Intermediates.noindex/New-Project.build/Debug-iphoneos/New\ Project.build/Objects-normal/arm64/New\ Project_dependency_info.dat -o /Users/Hanna/Library/Developer/Xcode/DerivedData/New-Project-elwvojzbzeatqbaoiwxkgvczxpee/Build/Products/Debug-iphoneos/New\ Project.app/New\ Project
    

    posted in Kode read more
  • C
    Cambiata

    Yep, not tried real hardware yet.

    So, compiling on osx 10.13 using XCode version for that system targeting iPhone simulator needs osx 10.15 to build..?
    How could that even be theoretically possible..!? Apple black magic i guess...

    Will try hardware asap.

    posted in Kode read more
  • C
    Cambiata

    My very-first-ever XCode test for kha/iOS doesn't build (see below).
    (Maybe not actually a kha problem, rather a XCode-target-related one?)

    I'm on
    High Sierra 10.13.6
    XCode 10.1 beta 3
    Any ideas?

    / Jonas

    Lexical or Preprocessor Issue Group
    /Users/Hanna/Desktop/Jonas/Kha/Kha/Kinc/Backends/System/iOS/Sources/Kore/GLView.h:5:9: 'QuartzCore/CAMetalLayer.h' file not found
    /Users/Hanna/Desktop/Jonas/Kha/Kha/Kinc/Backends/System/iOS/Sources/Kore/KoreAppDelegate.mm:3:9: In file included from /Users/Hanna/Desktop/Jonas/Kha/Kha/Kinc/Backends/System/iOS/Sources/Kore/KoreAppDelegate.mm:3:
    

    posted in Kode read more
  • C
    Cambiata

    Using the current git version makes runtime decoding 10x faster..! 🙂 Thanks!
    Must say that Robert guy is doing pretty amazing work.

    Started setting up a mac/xcode/ios installation - looking forward to see how this translates into iOS native...

    posted in Kode read more
  • C
    Cambiata

    Wow, will have a closer look at the StreamsChannel..!

    Is it possible to manually "feed" the stream channels with data loaded in chunks ("progressive download"-ish instead of actual streaming)?

    (I'm working with simultaneous multi-channel playback, and want to make sure that the data loading is spread evenly among the channels.)

    posted in Kode read more
  • C
    Cambiata

    I just installed vscode kha extension some days ago.
    kodetech.kha-19.2.0

    I would have guessed that it's the latest version, but maybe it isn't..?

    posted in Kode read more
  • C
    Cambiata

    Hi!

    I can't use Kha's clever audio Asset handling because, in my case, the files are loaded from the server at runtime (music player-ish).

    When experimenting, I notice that kha.Sound.uncompress() works for decmpressing Ogg files, but that it is in reality unusable: more than 1 second calculations for 1 second of music when running on my two year old Nokia 5 (about 25 times slower than when running the same example in Html5 desktop browser).

    So, is there a way to hook into the native audio decoders to ease this burden? Preferrably the same format (mp3?) on both iOS and Android. (As far as I know, iOS doesn't have a built in decoder.)

    Or are there other ways (embedding lime or something)..?

    // Jonas

    posted in Kode read more