Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The element XCLocalSwiftPackageReference is not supported #83

Open
jadepeakpoet opened this issue Jan 30, 2024 · 4 comments
Open

The element XCLocalSwiftPackageReference is not supported #83

jadepeakpoet opened this issue Jan 30, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed more info required Needs more info to become actionable. Auto-closed if no response.

Comments

@jadepeakpoet
Copy link

Describe the bug
With other lib using by local swift packages as dependencies of my projcect, executing setup.rb success ,then error occur while compile the xcode project
error: The element XCLocalSwiftPackageReference is not supported

Basic info (please complete the following information):

ObjectBox version (are you using the latest version?): [e.g. 1.9.0]
Reproducibility: [always]
Device: iPhone 15 Pro
OS: iOS 17.0.1
Xcode: xcode15.2

@jadepeakpoet jadepeakpoet added the bug Something isn't working label Jan 30, 2024
@jadepeakpoet jadepeakpoet changed the title error: The element XCLocalSwiftPackageReference is not supported The element XCLocalSwiftPackageReference is not supported Jan 30, 2024
@greenrobot-team
Copy link
Member

Thanks for reporting! Could you explain a bit more on how this project is set up? Otherwise I'm not sure how to reproduce this. Note that ObjectBox for Swift currently does not support Swift Package Manager properly, see #19.

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. Auto-closed if no response. label Feb 5, 2024
@jadepeakpoet
Copy link
Author

jadepeakpoet commented Feb 14, 2024

Thanks for reporting! Could you explain a bit more on how this project is set up? Otherwise I'm not sure how to reproduce this. Note that ObjectBox for Swift currently does not support Swift Package Manager properly, see #19.

I use both cocoapods and swift packages in my project, using objectbox with cocoapods and some other lib using with local swift package(Path:File->Add Package Depenencies->Add Local->Choose an local swift package folder), then setup objectbox and build the project, and the error occours.)

@jadepeakpoet
Copy link
Author

Manager

/* Begin XCLocalSwiftPackageReference section /
D55E3CAA2B4EC19100A3B550 /
XCLocalSwiftPackageReference "SwiftPackages/PartialSheet" / = {
isa = XCLocalSwiftPackageReference;
relativePath = SwiftPackages/PartialSheet;
};
D57FDA5E2B5A8D4800ECC797 /
XCLocalSwiftPackageReference "SwiftPackages/Pageboy" / = {
isa = XCLocalSwiftPackageReference;
relativePath = SwiftPackages/Pageboy;
};
/
End XCLocalSwiftPackageReference section */

The element XCLocalSwiftPackageReference was in MyProject.xcodeproj/project.pbxproj file like above config, why using in local is that some bug of these libs need to fixes myself when using in my project.

@greenrobot-team
Copy link
Member

Thanks for the details! I did a little research and could not find a solution for this. Maybe someone else has an idea?

@greenrobot-team greenrobot-team added the help wanted Extra attention is needed label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed more info required Needs more info to become actionable. Auto-closed if no response.
Projects
None yet
Development

No branches or pull requests

2 participants