Archived
Swift
tried to compile swift hello example in xcode followed all the installation instructions. Get following error message
ld: framework not found IceImpl
can anybody help to resolve the issue.
Comments
-
Hi,
We add
IceImpl
framework after the beta, can you pull changes from theswift
branch inice-demos
repository and runcarthage update
inice-demos\swift
.0 -
i have pulled the latest swift branch ...... "carthage update" does not create the IceImpl framework.
0 -
what is the output of
carthage update
?I seeing
carthage update *** Fetching ice *** Fetching PromiseKit *** Checking out ice at "224c102bae8829358a56c3ddddd3ffa0a52b2dea" *** Checking out PromiseKit at "6.10.0" *** xcodebuild output can be found in /var/folders/wx/h0n192c96r1fz21qkn3qgvp40000gn/T/carthage-xcodebuild.ss6J2M.log *** Building scheme "PromiseKit" in PromiseKit.xcodeproj *** Building scheme "Ice macOS" in ice.xcodeproj *** Building scheme "Ice iOS" in ice.xcodeproj
And
IceImpl
framework is built for both macOS and iOSls Carthage/Build/Mac/IceImpl.framework Headers IceImpl Modules Resources Versions air:swift jose$ ls Carthage/Build/iOS/IceImpl.framework Headers IceImpl Info.plist Modules
0 -
That's what i see
0 -
Frameworks
0 -
Not clear to me why IceImpl is missing in your build, can you attach the xcodebuild log so I can take a look
Also, what is the output of
otool -L Ice.framework/Ice
?0 -
Hi @siegfried, a few questions...
- Are you on the latest commit from the
swift
branch inice-demos
?
commit 06031a795c0e458af1054f3b87f0397a1b24594d (HEAD -> swift, origin/swift) Author: Jose <jose@zeroc.com> Date: Wed Jul 3 18:47:33 2019 +0200 Update demo projects to account for IceObjc -> IceImpl renaming
What version of
carthage
do you have? The latest is0.33.0
(runcarthage version
).Could you also try rebuilding after clearing the carthage caches:
~/ice-demos/swift/Carthage
~/Library/Caches/org.carthage.CarthageKit
0 - Are you on the latest commit from the
-
after clearing the caches i could build IceImpl framework ..... thanks for your help
0