mongodb / stitch-ios-sdk

Apache License 2.0
42 stars 25 forks source link

OSError when os.remove in build_frameworks.py #95

Closed humberthumbert closed 5 years ago

humberthumbert commented 5 years ago

I was trying to follow the instruction and connect mongodb into my ios project . However, every time when it comes to installing StitchCoreSDK, it fails and gives the following message: Traceback (most recent call last): File "scripts/build_frameworks.py", line 158, in <module> fix_mongoc_symlinks(variant) File "scripts/build_frameworks.py", line 46, in fix_mongoc_symlinks os.remove('{}/lib/libbson-1.0.dylib'.format(variant.name)) OSError: [Errno 2] No such file or directory: 'iphoneos/lib/libbson-1.0.dylib' Is that just a personal problem?

jsflax commented 5 years ago

Hi Lifan,

This is a known issue with building master against Swift 4.2. Once https://github.com/mongodb/stitch-ios-sdk/pull/94 is merged, this will be sorted.

Thanks for your patience!

On Sat 6 Oct 2018, 12:50 Lifan Zhao, notifications@github.com wrote:

I was trying to follow the instruction and connect mongodb into my ios project . However, every time when it comes to installing StitchCoreSDK, it fails and gives the following message: Traceback (most recent call last): File "scripts/build_frameworks.py", line 158, in fix_mongoc_symlinks(variant) File "scripts/build_frameworks.py", line 46, in fix_mongoc_symlinks os.remove('{}/lib/libbson-1.0.dylib'.format(variant.name)) OSError: [Errno 2] No such file or directory: 'iphoneos/lib/libbson-1.0.dylib' Is that just a personal problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mongodb/stitch-ios-sdk/issues/95, or mute the thread https://github.com/notifications/unsubscribe-auth/AEJ7QHkZEvRxAsPRlnnvi9DRKF73GZ-tks5uiJj_gaJpZM4XLUGq .

jsflax commented 5 years ago

Hi @humberthumbert ,

Could you give this another try? If you pull from master, it should be fixed now.

humberthumbert commented 5 years ago

Great Thanks! It works fine now.