# Firebase Community Package Error

**URL:** <https://forums.fusetools.com/t/firebase-community-package-error/5715>\
**Category:** How-to Discussions\
**Created:** [February 3, 2018, 5:08am UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715 "2018-02-03T05:08:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![1212khd](https://avatars.discourse-cdn.com/v4/letter/1/8baadc/32.png) [@1212khd](https://forums.fusetools.com/u/1212khd)\
**Post date:** [February 3, 2018, 5:08am UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/1 "2018-02-03T05:08:04Z")

</div>

Hi, guys.

I want to make an app that shows School’s Timetable with Google Ads.

So, I used Community Package Example.

And it works well on Android.

But, it doesn’t build on iOS.

If i use ‘fuse build -t=iOS -DCOCOAPODS -d’ then Xcode will show me one error.

The error is this :

‘-fobjc-weak is not supported on the current deployment target’

Please tell me about how I fix it.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [February 5, 2018, 8:26am UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/2 "2018-02-05T08:26:38Z")

</div>

Hi,

could you please share the code that causes this issue?

---

<div class="post-metadata">

**Author:** ![1212khd](https://avatars.discourse-cdn.com/v4/letter/1/8baadc/32.png) [@1212khd](https://forums.fusetools.com/u/1212khd)\
**Post date:** [February 5, 2018, 1:12pm UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/3 "2018-02-05T13:12:17Z")

</div>

Thanks for your attention, Uldis.

My project is in this URL.

> **[HandongKim/TodayScroolTimeTable](https://github.com/HandongKim/TodayScroolTimeTable)**
>
> Contribute to TodayScroolTimeTable development by creating an account on GitHub.

Loca Preview, Android Build is working well.

Only iOS build is not working.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [February 6, 2018, 11:55am UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/4 "2018-02-06T11:55:55Z")

</div>

Tested you project, worked just fine for me. I’m getting some warnings not related to the issue you reported, but those don’t block the app from working just fine.

Having googled for the `-fobjc-weak is not supported on the current deployment target` thing, it makes me wonder how you exported the app, and what target you chose?

Or, to put it differently: what XCode version do you have? Which iOS version did you target? Fuse apps can only be deployed to iOS 8.0 and newer.

---

<div class="post-metadata">

**Author:** ![1212khd](https://avatars.discourse-cdn.com/v4/letter/1/8baadc/32.png) [@1212khd](https://forums.fusetools.com/u/1212khd)\
**Post date:** [February 6, 2018, 12:23pm UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/5 "2018-02-06T12:23:30Z")

</div>

Thans for your reply.

Before listening your response, I tried many ways.  
Reinstall cocoapods, uno claen, project clean. And so on.  
But anything didn’t work.  
And It doesn’t work now too.

My Xcode version: 9.2  
iOS Target: 8.0  
Fuse version: 1.6.0

I can’t understand why I got this error ☹

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [February 6, 2018, 1:29pm UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/6 "2018-02-06T13:29:25Z")

</div>

Can you show / explain exactly when and where are you getting that error? A screenshot would be nice.

---

<div class="post-metadata">

**Author:** ![1212khd](https://avatars.discourse-cdn.com/v4/letter/1/8baadc/32.png) [@1212khd](https://forums.fusetools.com/u/1212khd)\
**Post date:** [February 6, 2018, 9:53pm UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/7 "2018-02-06T21:53:14Z")

</div>

Terminal:

Uno 1.6.0 (build 6434) macOS 10.13 x86\_64 40f9a34  
Copyright © 2015-2018 Fusetools

Configuring  
0.18 s  
Target is up-to-date – stopping build (pass --force to override)

Build completed in 0.18 seconds

Opening Xcode

Analyzing dependencies

Downloading dependencies  
Using Firebase (4.8.2)  
Using FirebaseAnalytics (4.0.9)  
Using FirebaseCore (4.0.14)  
Using FirebaseInstanceID (2.0.8)  
Using Google-Mobile-Ads-SDK (7.27.0)  
Using GoogleToolboxForMac (2.1.3)  
Using nanopb (0.3.8)  
Generating Pods project  
Integrating client project

[!] Automatically assigning platform `ios` with version `8.0` on target `TodayScroolTimeTable` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Sending stats  
Pod installation complete! There are 3 dependencies from the Podfile and 7 total pods installed.

Xcode screenshot:  
[https://github.com/HandongKim/TodayScroolTimeTable/blob/master/error.png](https://github.com/HandongKim/TodayScroolTimeTable/blob/master/error.png)

---

<div class="post-metadata">

**Author:** ![1212khd](https://avatars.discourse-cdn.com/v4/letter/1/8baadc/32.png) [@1212khd](https://forums.fusetools.com/u/1212khd)\
**Post date:** [February 7, 2018, 5:51am UTC](https://forums.fusetools.com/t/firebase-community-package-error/5715/8 "2018-02-07T05:51:22Z")

</div>

I solved the problem. The problem was a problem with the xcodeproj version, and after upgrading, the problem was gone.

Thanks for your kind, Uldis. 🙂
