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

[Proj] Xcode 8.3 Compatibility #853

Closed
wants to merge 1 commit into from
Closed

[Proj] Xcode 8.3 Compatibility #853

wants to merge 1 commit into from

Conversation

adomanico
Copy link

@adomanico adomanico commented Mar 23, 2017

Xcode 8.3 requires that module map files have unique names. This is preventing compilation of the Facebook SDKs on Xcode 8.3

This simply gives the module map files of each framework unique names and allows all frameworks to be compiled by Xcode 8.3

To help us review the request, please complete the following:

@adomanico
Copy link
Author

adomanico commented Mar 27, 2017

@mcohnen Can we get this expedited into a release? XCode 8.3 is live to the public at this time

@adomanico
Copy link
Author

cc @dzhuowen

@adomanico
Copy link
Author

cc @chrisp-fb

@adomanico
Copy link
Author

If anyone knows who is in charge of this repo and are active contributors please feel free to mention them

@Steven0351
Copy link

Steven0351 commented Mar 31, 2017

Not sure if this helps, but I was able to get my code to compile by removing the SDK from my podfile, ran pod install, re-added it to my podfile and ran pod install again and it compiles fine.

@Andr3y-
Copy link

Andr3y- commented Mar 31, 2017

any estimate when this will get merged?

@alak
Copy link

alak commented Apr 4, 2017

any news ?

@mcrollin
Copy link

mcrollin commented Apr 4, 2017

Any ETA?

@Infinity-James
Copy link

Can you just merge this now? It's ridiculous.

@naluhh
Copy link

naluhh commented Apr 6, 2017

please

@latargere
Copy link

please update it !

@nicolasfallourd
Copy link

please 🙏

@muukii
Copy link

muukii commented Apr 6, 2017

👀

@plailleur
Copy link

Please 🙂

@kentokento
Copy link

please 🙇

@dominik-hadl
Copy link

dominik-hadl commented Apr 6, 2017

Is the entire iOS team at Facebook on holiday? 😅 Just merge this in please, there's many of us depending on this. 😇

@poudro
Copy link

poudro commented Apr 6, 2017

Pretty please!

@vysotsky
Copy link

vysotsky commented Apr 6, 2017

Any updates?

@overlordnyaldee
Copy link
Contributor

Hey everyone, we're aware of this and we're been working to move up our release to push a fix.

SDK release v4.21 has been pushed yesterday and the issue with conflicting modulemap files should be fixed now. Is anyone still experiencing this issue with this new release?

@alak
Copy link

alak commented Apr 6, 2017

@overlordnyaldee I'll try today :)

@PSTDev
Copy link

PSTDev commented Apr 6, 2017

@overlordnyaldee facebook-sdk-swift dependent on this SDK still doesn't compile :(
facebookarchive/facebook-swift-sdk#142

Is Facebook's swift wrapper for this Facebook iOS SDK dead? And should we use only this Objective-C SDK?

@mcfedr
Copy link

mcfedr commented Apr 7, 2017

I'd say this issue is fixed.

@rafcabezas
Copy link

rafcabezas commented Apr 18, 2017

This branch compiles on xcode 8.3.1 via carthage, whereas master doesn't. I still think this PR should be merged in.

@rafcabezas
Copy link

This branch/PR also works on xcode 8.3.2

@Infinity-James
Copy link

Not working for me.
I need to use Xcode 8.3 now too because my devices aren't supported.

This is pretty pathetic at this point.

@adomanico
Copy link
Author

@overlordnyaldee 4.22 still does not compile. Can we merge this?

@meekay
Copy link

meekay commented May 3, 2017

Update after retest. 4.21 succeeds, but 4.22 fails. Looks like there was a regression.
Please provide an update.

@rafcabezas
Copy link

@overlordnyaldee 4.22 still has the module map issue; please merge this PR in

@Infinity-James
Copy link

What
Is
Wrong
With
You
?

@adomanico adomanico closed this Jun 5, 2017
@adomanico adomanico reopened this Jun 5, 2017
@adomanico
Copy link
Author

4.23 still has the module map issue fyi

@ekimia
Copy link

ekimia commented Jun 5, 2017

oh facebook.

@Infinity-James
Copy link

This is why it sucks to be reliant on anything.

@mcfedr
Copy link

mcfedr commented Jun 6, 2017

Yea, contrary to my previous comment, Its not working. Sticking to 4.21 at the moment.

@dzhuowen
Copy link
Contributor

Hey everyone,
Please file a bug to https://developers.facebook.com/bugs/ with error description and sample project. We'll work on this issue once we get a valid repo.

@paulocoutinhox
Copy link

We need it.

@paulocoutinhox
Copy link

I solved it using:

carthage update --platform iOS

@mcfedr
Copy link

mcfedr commented Jul 14, 2017

Reported this bug as https://developers.facebook.com/bugs/1510311509043400/ you can only see it if you login. You might have to be my friend, who knows... There is probably a like button.

@mcohnen
Copy link
Contributor

mcohnen commented Jul 20, 2017

Really sorry for the delay here.
The bug this PR was fixing was already fixed in v4.21: 8981427
We use xcconfig files instead of modifying project files directly.

There is however a different bug introduced later in v4.22 that is making the build fail in Carthage. This will be fixed in v4.25, which we are aiming to release in July 26th.
The bug is being tracked here: https://developers.facebook.com/bugs/1510311509043400/

We will include Carthage in our automatic tests to prevent any other breakage in the future.

@mcohnen mcohnen closed this Jul 20, 2017
@adomanico
Copy link
Author

Thanks @mcohnen

@mcohnen
Copy link
Contributor

mcohnen commented Jul 27, 2017

Quick update: v4.25 is out and Carthage should build now fine.

@paulocoutinhox
Copy link

I still have problems with v.4.25 and im backing to 4.21 to compile again.

Error:

Please also consider filing a radar with Apple, containing the version
of Carthage and any crash report found in Console.app.


Caught signal triggered by the Swift runtime!
Illegal instruction

Unfortunately, this is probably a bug in Swift and not Carthage. If
this is preventing you from doing work, please file an issue and we'll
do our best to work around it:
https://github.com/Carthage/Carthage/issues/new

Please also consider filing a radar with Apple, containing the version
of Carthage and any crash report found in Console.app.

make: *** [carthage-update] Segmentation fault: 11

@mcfedr
Copy link

mcfedr commented Aug 2, 2017

I am also seeing this issue. But inconsistently, I made a new folder, and Cartfile with just github "facebook/facebook-ios-sdk" ~> 4.21 and it once loaded fine, and then later didnt work. In my project with other deps, it hasnt worked at all.

Caught signal triggered by the Swift runtime!
Illegal instruction: 4

Reported this to Facebook as https://developers.facebook.com/bugs/878290185642503/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.