Post not yet marked as solved
In the example code:-
vc.changeElement(GCInputButtonA) {
I get the error. Value of type 'GCVirtualController?' has no member 'changeElement'
I thought the vc reference was view controller but this did not work.
Any help would be great.
Thanks in advance
Post not yet marked as solved
Hi All,
I am converting an iPad/iPhone/AppleTV app to Mac Catalyst. All seemed to go well until I access images from my image atlas.
I have this set of image files:-
bike@2x
bike@2x~ipad
bike~ipad
When I load the texture I get:-
<SKTexture> 'MissingResource.png' (128 x 128)
How do I solve this ???
Thanks in advance.
Steve
Post not yet marked as solved
Hi All,After installing xcode 11.4 (11E146) my Objective C project has the error "Value for SWIFT_VERSION cannot be empty"Now I can`t build the project HELP
Post not yet marked as solved
HI All,I am upgrading an existing app from OpenGL ES to Metal by changing my existing app following "MixingMetalAndOpenGLRenderingInAView".It was going ok until I imported the filesAAPLOpenGLMetalInteropTexture.hAAPLOpenGLMetalInteropTexture.mNow when I compile the project I get the error:-Undefined symbols for architecture arm64: "_kCVPixelBufferOpenGLCompatibilityKey", referenced from: -[AAPLOpenGLMetalInteropTexture initWithMetalDevice:openGLContext:metalPixelFormat:size:] in AAPLOpenGLMetalInteropTexture.old: symbol(s) not found for architecture arm64clang: error: linker command failed with exit code 1 (use -v to see invocation)the line of code is:- NSDictionary* cvBufferProperties = @{ (__bridge NSString*)kCVPixelBufferOpenGLCompatibilityKey : @YES, (__bridge NSString*)kCVPixelBufferMetalCompatibilityKey : @YES, };What am I doing wrong !!!!
Post not yet marked as solved
Hi All,I am trying to convert an objective C OpenGL ES project to Metal using the ezample OpenGLMetalInteroperability.I was putting code into my project from OpenGLMetalInteroperability when I got the error "AAPLMetalRenderer.h:8:1: Use of '@import' when modules are disabled"So I had a look at the OpenGLMetalInteroperability project and found it had in the project settings Metal Compiler - Build Options.My question is is there any way to convert my existing project to Metal or do I have to start with a Metal project and copy my old project into it ?I don`t want to do the latter as it is a very large project !!!!Thanks in advance.
Post not yet marked as solved
Hi I am to update and old app which uses EAGLView. The EAGLView was subclassed to MyEAGLView and then add as a subview to the view controller.The rotation of the MyEAGLView was handled by this code on rotation:- glPushMatrix glLoadIdentity glTranslatef glRotatef glPopMatrixAfter iOS 8 the MyEGALView now rotates without having to transform and rotate it. Is this normal behaviour and expected, or do I have to stop this in someway and revert back to the old rotation method. Any guidance would be much appreciated.Thanks
Post not yet marked as solved
Hi All,Updated my project to Swift 3,2 and all builds ok, when i run it on sim / device I get :-Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x120a88490) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x120912120). One of the two will be used. Which one is undefined.and the app stops in AppDelegate. Any help here would be much appreciated 😟
Post not yet marked as solved
Just updating an app to work on the new iPadPro and found that my @2x images are too large on the screen as compaited to iPad Air etc. Is there something else I must do ?
Post not yet marked as solved
Hi All,I have a problem now with SKTileMaps when animated. The first graphic is displayed correctly but all the other animations are miss aligned. Has anybody seen this fault. ??
Post not yet marked as solved
Hi All,When I try to edit my tilemap blocks in a tileMap.sks xcode crashes. When I restart xcode it says thet my project is not signed correctly. I the have to load an older project. reassemble and then load the current project back in. This has been like this form beta 3. I there any hope of this being fixed ???????????????????????????????
Post not yet marked as solved
Hi All,Not sure what this is, but useing Xcode Version 9.0 beta 5 (9M202q) I open a project. If I then close the project by quitting Xcode, then open Xcode again, the project automaticaly re-opens. But some files are not listed in the left hand pain. If I then close thew project ( not Xcode) and then quit Xcode, reopen Xcode and project by clicking on theproject.xcodeproj file, Xcode opens with the project and the files are then correct.It is surspected that the files that go missing are the ones added to the project after I start useing the Beta Xcodes.
Post not yet marked as solved
Hi All,Working with Version 9.0 beta 5 (9M202q). I have several levels to my project made up of Spritekit scenes using SKTileMap. I have a BackgroundSKNode which contains a background pic of type SKspriteNode defined as 1024 x 768 but the texture for this sprite is 2048 x 1536. This has worked fine, up untill now as then I change the graphic Xcode crashes.Process: Xcode [651]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 9.0 (13226.5)Build Info: IDEFrameworks-13226005000000000~14Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [651]User ID: 501Date/Time: 2017-08-17 07:53:35.236 +0100OS Version: Mac OS X 10.12.6 (16G29)Report Version: 12Anonymous UUID: 94F7BB97-75BE-AD36-EAE9-7A9A74443C6FTime Awake Since Boot: 2300 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: SKCRenderer_resource_queueException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:Sending userDidChangeValue: to <SKInspectorTextureProperty: 0x7fecc8934b70> from <NSComboBox: 0x7fecc732d980>ProductBuildVersion: 9M202qPerforming @selector(userDidChangeValue:) from sender NSComboBox 0x7fecc732d980Assertion failed: (data == nullptr), function create_texture, file /Library/Caches/com.apple.xbs/Sources/Jet/Jet-2.25/Jet/jet_context_OpenGL.mm, line 369.
Post not yet marked as solved
Hi All,I am getting Code Signing Error: Code signing is required for product type 'Application' in SDK 'Simulator - iOS 11.0'Is there a fix ?
Post not yet marked as solved
Hi All,App was running ok on the beta 3 build but now on the beta 4 simulator it is runnung a 1fps. Works on the devices ok but they are running iOS 10.3.3Anybody else had the problem.