Skip to content

Refactor: The iOS app is sample/src/iosMain/app.xcodeproj; root iosApp removed - #173

Merged
b-re-w merged 2 commits into
developfrom
feat/ios-project-in-sample
Oct 3, 2026
Merged

b-re-w merged 2 commits into
developfrom
feat/ios-project-in-sample

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 3, 2026

Copy link
Copy Markdown
Member

Closes #107

The sample's template-layout Xcode project (app-template app/src/iosMain) is now the single iOS project; root iosApp/ is removed. Ported from iosApp: the install-python build phase (stdlib, extension modules wrapped as frameworks, the app's payload from sample/src/commonMain/python), Python.xcframework link and embed, bundle id org.thisisthepy.python.multiplatform.demo, product PythonDemo.app, the SwiftUI entry (ContentView/iOSApp). Removed: the unpopulated build/pythonStaging folder reference, the missing EmbeddedPython group, the template's launch storyboard (wrong Info.plist key; SwiftUI app uses UILaunchScreen as iosApp did). Docs: ios-app-bundle.md procedure and ROADMAP updated.

Verified on the iPhone 16 simulator from the new location (procedure in docs/platforms/ios-app-bundle.md): xcodebuild EXIT=0, 'Wrapped 67 extension module(s)', payload installed; launch prints DEMO 1 to DEMO 8, DEMO 8 bundle is a tuple with the payload greeting and _json loaded from its .fwork. Desktop/Android are not affected (no Gradle source changes besides one comment).

@b-re-w
b-re-w merged commit 54a3a54 into develop Oct 3, 2026
@b-re-w
b-re-w deleted the feat/ios-project-in-sample branch October 3, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant