Questions tagged [bftask]
13 questions
14
votes
3 answers
Type arguments cannot be applied to non-parameterized class BFTask in PFAnalytics and PFObject
I've updated my project to iOS 9, my podfile, and all necessary files, but it will not build. The source of my grief is in the following error message:
Type arguments cannot be applied to non-parameterized class 'BFTask'
This is the only error that…

user2565629
- 163
- 1
- 5
7
votes
3 answers
Implementing tasks that can be canceled in Bolts Framework (BFTask)
BFTask has been good to me but I have one complaint: I've yet to see a working example of how you ought to cancel a task. The entirety of the documentation on the subject is found on their GitHub page with a single lowly section that includes…

tacos_tacos_tacos
- 10,277
- 11
- 73
- 126
7
votes
3 answers
Parse login hang since Facebook 4.0.x with [PFFacebookUtils initializeFacebookWithApplicationLaunchOptions:launchOptions] (semaphore_wait_slow trap)
Since updating Facebook to v4.0.x and the latest Parse libraries, my app is hanging, seemingly when trying to log in the user.
My stack trace looks like this:
I had a very similar problem previously, answered here: Parse crash when calling…

Smikey
- 8,106
- 3
- 46
- 74
2
votes
3 answers
Bolts framework continueWithBlock error
I've been working AWS s3 for a while now and had little problems until lately. I import the framework through cocoapods. Recently, I reinstalled cocoapods in light of this post.
Afterwards, I had a million and one "use of undeclared type: errors,…

Ryan
- 195
- 2
- 14
2
votes
0 answers
Can not retrieve pinned data in local datastore for Swift due to error
I am trying to retrieve data from the local Datastore after 'pinning' my object.
Yet when i use the standard code from parse.com (see below) i get two errors:
query.findObjectsInBackground().continueWithBlock {
// error: " BFTask!' is not a…

user4497724
- 21
- 3
1
vote
1 answer
Freezing http requests in background state
There app have many tasks when app in background state, basically work with bluetooth dongles, and receive/sending data to server. Sometimes when app in background state send a query, system is "freeze in" this query. And after launch app, system is…

dev.nikolaz
- 3,184
- 3
- 19
- 32
1
vote
2 answers
[BFTask isFaulted]: unrecognized selector sent to instance error
Updated to Parse SDK 1.7.1 with Bolts 1.1.4 and using the new and latest Facebook SDK. Every time I login the user I get the following error:
[BFTask isFaulted]: unrecognized selector sent to instance error.
I'm able to login the user, the user's…

TheRealRonDez
- 2,807
- 2
- 30
- 40
0
votes
1 answer
Simple PBFT issue
When I use same code with simple-validate and 3 nodes RAFT that are all ok. but I change to BFT. report below error. Actually I only use one un-consume make as input. but not sure why report below error. My code based on M14 version.
[WARN ]…

eye
- 61
- 7
0
votes
2 answers
How do I use BFTask with Swift 3?
This segment of code worked perfectly in Swift 2
override func prepare(for segue: UIStoryboardSegue?, sender: Any?) {
if (segue!.identifier == "FeedDetailSeg") {
let viewController:ItemDetail = segue!.destination as! ItemDetail
…

c0rv0s
- 301
- 1
- 16
0
votes
1 answer
Parse saveInBackgroundWithBlock additional task
What I want to do is cause another save anytime saveInBackgroundWithBlock is called in my app. Im doing this to create a "log" of everything that changes and who changed it. I looked into the PFObject.h but I am not sure how to properly write this…

trever
- 961
- 2
- 9
- 28
0
votes
1 answer
Facebook Unity SDK 7.6.0 does not recognize Bolts BFTask.h classes
First of all I am using Unity 5.4.3.p4 and XCode 6.4 to build my game for iOS. I recently updated my Facebook SDK from 6.2.2 to 7.6.0 because the latter is not really built for Unity 5.x.x, it sometimes fails to login. Since I've updated the FB…

Brian
- 1
- 2
0
votes
1 answer
BFTask to draw SpriteKit objects in background is locking main thread
I am using BFTasks to perform some SpriteKit drawing in the background, but I'm not sure I'm using them correctly, as the drawing is locking up the main thread.
Each object is made up of several SKSpriteNodes, that are flattened before rendering.…

Smikey
- 8,106
- 3
- 46
- 74
0
votes
1 answer
Parse: How get all saveEventually tasks
I'm using Parse in my iOS app.
In my app I'm using a lot of saveEventually() functions to store data in Parse without there needing to be an internet connection available.
I know that saveEventually() returns a BFTask object.
It is possible to get…

mattiad
- 13
- 1
- 6