Comments (4)
Downgrading cocoapods from 1.1.1 to 1.0.1 seems to have solved the problem.
Thanks for the tip and the awesome plugin.
from nativescript-floatingactionbutton.
I believe this might be a cocoa pods issue. I can check later. Make sure
you're using 1.0
On Fri, Nov 18, 2016, 3:52 PM George Njuguna [email protected]
wrote:
Hi, after updating Nativescript to the latest version, I'm getting the
error below when building for IOS. Android not affected.CONSOLE ERROR
file:///app/tns_modules/@angular/core/bundles/core.umd.js:3006:36: ORIGINAL
EXCEPTION: Can't find variable: MNFloatingActionButton
CONSOLE ERROR
file:///app/tns_modules/@angular/core/bundles/core.umd.js:3009:36: ORIGINAL
STACKTRACE:
CONSOLE ERROR
file:///app/tns_modules/@angular/core/bundles/core.umd.js:3010:36:
FloatingActionButton
@file:///app/tns_modules/nativescript-floatingactionbutton/fab.js:20:44
createAndAttach
@file:///app/tns_modules/nativescript-angular/view-util.js:96:33
createView
@file:///app/tns_modules/nativescript-angular/view-util.js:110:40
createElement
@file:///app/tns_modules/nativescript-angular/renderer.js:198:40
createRenderElement
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:5450:40
createInternal
create@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9370:52
createEmbeddedView
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:7240:24
createEmbeddedView
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:4847:57
ngOnInit
@file:///app/tns_modules/nativescript-angular/directives/tab-view.js:80:60
detectChangesInInputProps
detectChangesInternal
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9305:39
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9410:52
detectViewChildrenChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9331:36
detectChangesInternal
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9305:39
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9410:52
detectContentChildrenChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9323:36
detectChangesInternal
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9305:39
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9410:52
detectContentChildrenChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9323:36
detectChangesInternal
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9305:39
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9410:52
detectViewChildrenChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9331:36
detectChangesInternal
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9305:39
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:9410:52
detectChanges
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:7398:37
forEach@[native code]
tick@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6819:49
file:///app/tns_modules/@angular/core/bundles/core.umd.js:6760:113
invoke
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:190:33
onInvoke@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6206:47
invoke
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:189:42
run
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:83:49
next@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6760:88
file:///app/tns_modules/@angular/core/bundles/core.umd.js:5952:60
__tryOrUnsub@file:///app/tns_modules/rxjs/Subscriber.js:223:20
next@file:///app/tns_modules/rxjs/Subscriber.js:172:34
_next@file:///app/tns_modules/rxjs/Subscriber.js:125:30
next@file:///app/tns_modules/rxjs/Subscriber.js:89:23
next@file:///app/tns_modules/rxjs/Subject.js:55:29
emit@file:///app/tns_modules/@angular/core/bundles/core.umd.js:5944:84
checkStable
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6174:48
setHasMicrotask
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6245:29
onHasTask
@file:///app/tns_modules/@angular/core/bundles/core.umd.js:6218:50
hasTask
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:249:64
_updateTaskCount
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:266:33
invokeTask
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:227:42
runTask
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:123:57
drainMicroTaskQueue
@file:///app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:355:42
promiseReactionJob@[native code]
UIApplicationMain@[native code]
start@file:///app/tns_modules/application/application.js:251:30
bootstrapApp
@file:///app/tns_modules/nativescript-angular/platform.js:60:26
bootstrapModule
@file:///app/tns_modules/nativescript-angular/platform.js:53:26
anonymous@file:///app/main.js:5:57
evaluate@[native code]
moduleEvaluation@[native code]
[native code]
promiseReactionJob@[native code]
CONSOLE ERROR
file:///app/tns_modules/@angular/core/bundles/core.umd.js:3013:36: ERROR
CONTEXT:—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#39,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhEjYqqSraUrOosVl_6VQdg8iai5wks5q_h4PgaJpZM4K29pF
.
from nativescript-floatingactionbutton.
I think it's not a good idea to migrate down to CocoaPods 1.0.1, since we are running a build-server with many other projects on it and they rely on the lastest version CocoaPods.
So, is there any other way how this issue can be solved? Maybe this is already solved?
from nativescript-floatingactionbutton.
Should be fine now. At the time cocoapods had issues importing correctly, not sure what the issue was exactly. However I've not ran into this myself in over a year. So all should be okay now :)
from nativescript-floatingactionbutton.
Related Issues (20)
- Can I remove padding around icon? HOT 1
- Calling js method onCreateView failed HOT 2
- Error when adding the plugin HOT 1
- JS: topmost() is deprecated. Use Frame.topmost() instead. HOT 2
- How to use svg images HOT 2
- Fab is not showing when scroll completes HOT 1
- text is not working. HOT 6
- loadFromFontIconCode() is deprecated HOT 4
- Adapt icon to screen HOT 10
- Styles not applied on app build for production HOT 2
- FAB 2.0.1: font icons have different sizes on different screens HOT 1
- Crash in flexbox-layout.android.js - Right-hand side of 'instanceof' is not an object HOT 5
- NativeScript 7 update HOT 1
- Could not load view for: Fab.ReferenceError: NativeClass is not defined when used with {N} 7 with angular HOT 12
- FAB.TypeError: core_1.Property is not a constructor HOT 5
- Changing color to text does not work HOT 6
- Display the action items when Fab Button is clicked - Nativescript7 Angular10 HOT 3
- @nativescript/core still imported for lower version than NS7
- icon appearing bigger and cannot be resized HOT 2
- App is crashing on NS Angular
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-floatingactionbutton.