rive-app / rive-ios

iOS runtime for Rive
MIT License
462 stars 53 forks source link

Rive IOS does not work in Swift Playgrounds or Xcode Playgrounds! #298

Open saffysoftware opened 3 months ago

saffysoftware commented 3 months ago

== DATE:

Friday, 29 March 2024 at 10:34:32 Greenwich Mean Time

2024-03-29T10:34:32Z

== PAUSED REASON:

userInitiatedBuild

== PENDING UPDATE REASONS:

User initiated a build
Preview Settings changed
Open file was edited
Open file was edited
Preview Settings changed
Open file was edited
Open file was edited
Preview Settings changed
Open file was edited
Open file was edited
Preview Settings changed
Preview Settings changed
Data Sources changed
Data Sources changed
Preview Settings changed
Open file was edited
Preview Settings changed
Preview Settings changed
Preview Settings changed
Open file was edited
Open file was edited
Open file was edited
Open file was edited
Open file was edited
Preview Settings changed
Open file was edited

== PREVIEW UPDATE ERROR:

HasPackageResolutionErrors: Cannot preview if there are package resolution errors

'test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'

'test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'

== VERSION INFO:

Tools: 15E204a
OS:    23C71
PID:   9043
Model: MacBook Air
Arch:  arm64e

== ENVIRONMENT:

openFiles = [
    /Users/sayfullahshehzad/Desktop/TEST.swiftpm/Package.swift
]
wantsNewBuildSystem = true
newBuildSystemAvailable = true
activeScheme = TEST-Package
activeRunDestination = My Mac variant iosmac arm64e
workspaceArena = [x]
buildArena = [x]
buildableEntries = empty
runMode = unspecified

== TARGET CONTAINMENT:

Failed to find any buildables using the normal path

+++ TEST, blueprint = TEST, contains = false:
    /Users/sayfullahshehzad/Desktop/TEST.swiftpm/ContentView.swift
    /Users/sayfullahshehzad/Desktop/TEST.swiftpm/MyApp.swift

== SELECTED RUN DESTINATION:

name = My Mac
eligible = true
sdk = Optional(<DVTSDK:0x117d22230:'macosx14.4':macOS 14.4:<DVTFilePath:0x600001ea9300:'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk'>>)
variant = Optional("iosmac")
device = Optional(<DVTLocalComputer: 0x1276e6c80 (My Mac | arm64e)>)

== SELECTED RUN DESTINATION:

macOS 14.4 | iosmac | arm64e | MacBook Air | no proxy

== PACKAGE RESOLUTION ERRORS:

Error Domain=IDEWorkspaceSourcePackageLoadingErrorDomain Code=0 "'test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'" UserInfo={NSLocalizedDescription='test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'}
Error Domain=IDEWorkspaceSourcePackageLoadingErrorDomain Code=0 "'test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'" UserInfo={NSLocalizedDescription='test.swiftpm' dependency on 'https://github.com/rive-app/rive-ios' conflicts with dependency on 'https://github.com/rive-app/rive-ios' which has the same identity 'rive-ios'}

== REFERENCED SOURCE PACKAGES:

<IDESwiftPackageCore.IDESwiftPlaygroundsProject:0x1276de3b0 path:'/Users/sayfullahshehzad/Desktop/TEST.swiftpm'>
<IDESwiftPackageCore.IDESwiftPackageProxy:0x2b4129f70 path:'/Users/sayfullahshehzad/Library/Developer/Xcode/DerivedData/TEST-dvvubfwsbncnzqdqqolnvyqgvrxf/SourcePackages/checkouts/rive-ios'>

== SESSION GROUP 472:

workspace identifier: WorkspaceIdentifier(identifier: 5A9EBECB-DE3D-4F24-8269-828C9DEC1756)
providers: [

]
translation units: [
    /Users/sayfullahshehzad/Desktop/TEST.swiftpm/ContentView.swift
]
attributes: [
    Editor(381):     
        isAppPreviewEnabled: true
        suppressAppPreviewWhenPreviewProvidersArePresent: false
        destinationMode: automatic
        previewSettings: [
            App Preview <Role: Previews>:     isEnabled: true
                boxedCanvasControlStates: []
        ]
]
session: 473
request sessions: [

]

== UPDATE SESSION 473:

Start Date: Friday, 29 March 2024 at 10:32:25 Greenwich Mean Time
Preview Preflight {
    Simulator {
        platform: none
        device: E67915CA-6023-45D9-AAF1-5D5201B5B265 iPad Pro (11-inch) (4th generation)
        buildNumber: 21E213
        runtimePath: /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime
    }
}
Build Graph {
    target appPackageProduct TEST (#1)
       translationUnit ContentView.swift (#2)
       Preview Preflight | App Preview <Role: Previews>: from Editor(381) for local Preview Preflight | App Preview <Role: Previews>: from Editor(381) for local (#3)
}
Update Plan {
    iOS [arm64 iphonesimulator17.4 iphonesimulator] (iPad Pro (11-inch) (4th generation), 25B78894-9886-4274-98C9-F79AC889F494-iphonesimulator17.4-arm64-iphonesimulator), [], thinning disabled, thunking enabled) {
        Destination: iPad Pro (11-inch) (4th generation) 25B78894-9886-4274-98C9-F79AC889F494 | default device for iphonesimulator [
            TEST appPackageProduct - Previews {
                execution points [
                    point Preview Preflight | App Preview <Role: Previews>: from Editor(381) for local
                ]
                translation units [
                    ContentView.swift (in TEST)
                ]
                modules [
                    TEST
                ]
            }
        ]
    }
}

== POWER STATE LOGS:

29/03/2024, 10:32 Received power source state: Battery Powered (lowPowerMode: false, status: unplugged, level: 68%)
29/03/2024, 10:32 Broadcasting device power state: Mid Power
29/03/2024, 10:32 No device power state user override user default value.
29/03/2024, 10:33 Received power source state: Battery Powered (lowPowerMode: false, status: unplugged, level: 67%)Current power state: Mid Power
Screenshot 2024-03-29 at 10 34 30