Bug 456380 - The app doesn't build at all
Summary: The app doesn't build at all
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeconnect
Classification: Applications
Component: ios-application (show other bugs)
Version: unspecified
Platform: Apple App Store macOS
: NOR critical
Target Milestone: ---
Assignee: Lucas W.
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 05:04 UTC by hanyoung
Modified: 2022-10-28 22:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanyoung 2022-07-06 05:04:04 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. clone the repo
2. build
3. 

OBSERVED RESULT
dozens of compile error

EXPECTED RESULT
app compiles

SOFTWARE/OS VERSIONS
Windows: 
macOS: Monterey 12.1
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
XCode 13.1
Comment 1 Apollo Zhu 2022-10-28 22:05:31 UTC
1. Make sure you have the latest Xcode version (we require at least Xcode 13.2 for concurrency back deployment). Then you should be able to build the app to iOS simulators with no issues
2. Compiling for physical iOS devices is more complicated. We have some special entitlements from Apple (namely https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast and https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name). The proper way would be requesting these entitlements using your paid Apple Developer account (and hope that Apple would approve it, no one has tried yet), but you can also try the workaround I documented https://apollozhu.github.io/en/2022/01/15/sideload-kde-connect-ios/. If it works for you then maybe you can add it to the build instructions on KDE wiki, I didn't do it since no one else tried this workaround either.