I have a strange regression bug. Version 2.5.0 gives tons of `use of undeclared type 'gdImagePtr' errors, but v2.4.0 does not.
steps taken:
- SwiftGD 2.5.0 could not find gdImagePtr
- brew reinstall gd
- remove .build
- clean project etc.
- Double-check double setting of /usr/local/lib
- downgraded to SwiftGD 2.4.0
- In the end removing the xcodeproj was the only thing which worked
However, when I upgraded to SwiftGD 2.5.0 again, removing the xcodeproj and deep cleaning the build folder, and adding the library search paths did not work anymore.
- Saved both build logs
- downgraded to SwiftGD 2.4.0
The only discrepancy I see, is that the Format.swift file is in different positions:
2.4.0: checkouts/SwiftGD/Sources/Format.swift
2.5.0: checkouts/SwiftGD/Sources/SwiftGD/Format.swift
Also, it does link with the gd library, as you can see from the compile statement.
Build project5-Package_SwiftGD2.5.0.txt.zip
Build project5-Package_SwiftGD2.4.0.txt.zip
I have a strange regression bug. Version 2.5.0 gives tons of `use of undeclared type 'gdImagePtr' errors, but v2.4.0 does not.
steps taken:
However, when I upgraded to SwiftGD 2.5.0 again, removing the xcodeproj and deep cleaning the build folder, and adding the library search paths did not work anymore.
The only discrepancy I see, is that the Format.swift file is in different positions:
2.4.0:
checkouts/SwiftGD/Sources/Format.swift2.5.0:
checkouts/SwiftGD/Sources/SwiftGD/Format.swiftAlso, it does link with the gd library, as you can see from the compile statement.
Build project5-Package_SwiftGD2.5.0.txt.zip
Build project5-Package_SwiftGD2.4.0.txt.zip