Closed robbeman closed 1 year ago
Hey @robbeman , can try to clean-up artifacts from previous builds, and re-build it with the latest v0.7.4 (just released) version of the library?
Hmm, no the problem seems to persist. (Removed ./ios/Pods and ./ios/Build, should be enough, right?) It may be that something is off with the surrounding project, because it does have some history.
Another thing I am wondering now is that I'm at a version of xcode that is a little old (13.1) which may cause some trouble? But can't update now because I have some disk-space shortage and would need a bit of a reorganise to accommodate for it. 😅
I don't have a strong background in this, so I'm at a bit of a loss for where to look. If you could use any info on the project config or some log outputs, please let me know.
Removed ./ios/Pods and ./ios/Build, should be enough, right?
Not sure; at least on my machine most of build artefacts hang out in /Users/<MY_USERNAME>/Library/Developer/Xcode/DerivedData
. If you never heard of it, probably purging that folder will also help with freeing a bunch of disk space ;)
Also there is Product > Clean Build Folder option in Xcode to remove artifacts related to the project.
It may be that something is off with the surrounding project, because it does have some history.
If you are not sure is it a problem with the library, or with your app, perhaps you should start with trying whether the example app from this repo works for you?
I'm at a version of xcode that is a little old (13.1) which may cause some trouble?
No idea, but sounds a bit old. I am developing with the latest available 14.2; and it is already too old to build and deploy to my iPad under iPadOS 16.4 (updated OS in the last few days).
The problem is also present in the example project. (For me.)
I'll try updating xcode.
Okay, yesterday I managed to get past this error with a newer xcode version. So I guess that solves at least this issue.
Sorry for bothering and thank you for replying so swiftly. I'll disappear now. 👋
Trying to build the project for iOS and running in a simulator results in the following error:
Which in turn triggers the error described in #18. I tried building with
-DWITH_PCRE2=OFF
but this does not seem to change the situation.Looking at the exported vars I see
which makes sense since I am actually building to a simulator target.
I am not sure if the library should inherit these settings from the main project, but I also can't seem to figure out how to prevent this.