Post

Replies

Boosts

Views

Activity

Playground
My app runs with Xcode on real devices. However, when I try to run it on playground I get:There was a problem running this playground. Please check your code and try again later. There is no indication of where the error is. I started to reduce the code to discover the error but I havent been successful.
0
0
492
Feb ’20
Importing an external framework in Swift playground
I have tried everything to import a framework in a playground. I think I have set the target correctly and my framework compiles correctly. I even have a .swift file for the playground to reference the frameworkHere is the hierarchySwiftProjWorkspace - SwiftProjPlayground - SwiftProjFramework -SwiftProjPlayground.swift --> This is a dummy swift fileerror: SwiftPlayground.playground:4:8: error: no such module 'SwiftFramework'import SwiftFrameworkI am compiling on actual device target. Since I am using REalityKit, I need an actual device.Any help would be appreciated.
0
0
681
Jan ’20
Importing framework in a Playground
I have tried everything to import a framework in a playground. I think I have set the target correctly and my framework compiles correctly. I even have a .swift file for the playground to reference the frameworkHere is the hierarchySwiftProjWorkspace - SwiftProjPlayground - SwiftProjFramework -SwiftProjPlayground.swift --> This is a dummy swift file error: SwiftPlayground.playground:4:8: error: no such module 'SwiftFramework'import SwiftFrameworkI am compiling on actual device target. Since I am using REalityKit, I need an actual device.Any help would be appreciated.
0
0
495
Jan ’20