johnno1962 / HotReloading

Hot reloading as a Swift Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

device injection build error in Xcode14

moonclock opened this issue · comments

Hi~
John, thanks for your work! HotReloading is amazing, specially after supporting device injection.

but, I am trying use SPM to integrate HotReloading to my project,, but the project built failed,
the error message like this:
.../SourcePackages/checkouts/HotReloading/Sources/injectiondGuts/SignerService.m:31:9: error build: 'system' is unavailable: not available on iOS
.../SourcePackages/checkouts/HotReloading/Sources/injectiondGuts/SignerService.m:31:9: error build: 'system' is unavailable: not available on iOS

Am I missing something in the setup?

Xcode version: 14.0
Device info: iPhone8P, iOS 16.0.2

my project && HotReloading
图片

error info:
图片

Hi, looks like you added too many HotReloading products into your project. You should only add HotReloading as it shows on the project README. It seems to be building "injectiond" which will not build on iOS.

The answer is so fast, my project built success, I went to fix "HotReloading loaded but could not connect to my-MacBook-Pro.local", thanks john!