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

Update to latest to enable compatibility with more recent devices #870

Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
da9dae6
Adding my local changes. Delta installs, fixed logging and other stuff
davidrogers-unity Dec 2, 2020
5c6241b
We know that iOS 13.7+ require a secure connection
davidrogers-unity Dec 2, 2020
8f71fd5
Fixed iOS version check for requiring secure connection
AndreasReich Dec 4, 2020
552dbed
Documented now exposed deltaInstallApplicatoinWithPath
AndreasReich Dec 17, 2020
2f11fce
Expose configurable work queues on FBDeviceSet init
AndreasReich Dec 19, 2020
c8c16c8
Fixed use of FBApplicationLaunchMode for FBDevice
AndreasReich Dec 22, 2020
c208d8c
disabled debug symbol generation for release builds
AndreasReich Jan 5, 2021
2e58797
Fixed running apps being identified by non-unique application name
AndreasReich Jan 12, 2021
809c9f1
Fix application list filtering out processes that are applications bu…
AndreasReich Jan 27, 2021
1bc57bc
Fix bug that product version is not overwritten correctly on FBAM(Res…
AndreasReich Jan 28, 2021
de61162
Merge remote-tracking branch 'upstream/master' into update-idb
AndreasReich Aug 13, 2021
d54da90
removed spammy log message
AndreasReich Aug 13, 2021
0968de4
Merge pull request #1 from Unity-Technologies/update-idb
AndreasReich Aug 13, 2021
f095a40
Merge remote-tracking branch 'upstream/main' into update-idb
AndreasReich Nov 26, 2021
80e1d76
Fix missing NSNumber conversion
AndreasReich Nov 26, 2021
2442b6e
Merge pull request #2 from Unity-Technologies/update-idb
AndreasReich Nov 30, 2021
c1d754c
Fix always using iOS developer images
AndreasReich Dec 22, 2021
f02a51d
Merge pull request #4 from Unity-Technologies/fix-developer-images-al…
AndreasReich Dec 23, 2021
d441f6d
add invalidateHouseArrestAFCConnectionForBundleID as workaround for b…
AndreasReich Dec 22, 2021
57595df
Merge remote-tracking branch 'upstream/main' into update-to-latest
juho-gavert Jul 2, 2024
3e55180
missing FBDeviceApplicationCommands?
juho-gavert Jul 11, 2024
cc4d8ad
Merge pull request #5 from Unity-Technologies/afcconnection-invalidation
bitter Oct 1, 2024
f4845f1
Add missing InvalidateAFCHouseArrest method that was recently added t…
guillaumelevass Oct 1, 2024
91e7909
Update dylibs
guillaumelevass Oct 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expose configurable work queues on FBDeviceSet init
AndreasReich committed Feb 8, 2021
commit 2f11fce8cd7434e8ff3849e5d00842e1989cd5b9
14 changes: 14 additions & 0 deletions FBDeviceControl/Management/FBDeviceSet.h
Original file line number Diff line number Diff line change
@@ -30,6 +30,20 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (nullable instancetype)setWithLogger:(id<FBControlCoreLogger>)logger delegate:(nullable id<FBiOSTargetSetDelegate>)delegate ecidFilter:(nullable NSString *)ecidFilter error:(NSError **)error;

/**
Advanced initializer that allows to set custom work queues.
This is useful e.g. for console applications which don't have the main queue continously fed or components embedded in systems that are not aware of the main dispatch queue.

@param workQueue the main sync work queue to use (typically the main queue, dispatch_get_main_queue).
@param asyncQueue work queue for async tasks.
@param logger the logger to use.
@param delegate a delegate that gets called when device status changes.
@param ecidFilter a filter to restrict discovery to a single ECID.
@param error an error out for any error that occurs constructing the set.
@return the Default Device Set if successful, nil otherwise.
*/
+ (nullable instancetype)setWithWorkQueue:(dispatch_queue_t)workQueue asyncQueue:(dispatch_queue_t)asyncQueue logger:(id<FBControlCoreLogger>)logger delegate:(nullable id<FBiOSTargetSetDelegate>)delegate ecidFilter:(nullable NSString *)ecidFilter error:(NSError **)error;

#pragma mark Querying

/**
7 changes: 6 additions & 1 deletion FBDeviceControl/Management/FBDeviceSet.m
Original file line number Diff line number Diff line change
@@ -46,9 +46,14 @@ + (void)initialize

+ (nullable instancetype)setWithLogger:(id<FBControlCoreLogger>)logger delegate:(id<FBiOSTargetSetDelegate>)delegate ecidFilter:(NSString *)ecidFilter error:(NSError **)error
{
AMDCalls calls = FBDeviceControlFrameworkLoader.amDeviceCalls;
dispatch_queue_t workQueue = dispatch_get_main_queue();
dispatch_queue_t asyncQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0);
return [FBDeviceSet setWithWorkQueue:workQueue asyncQueue:asyncQueue logger:logger delegate:delegate ecidFilter:ecidFilter error:error];
}

+ (nullable instancetype)setWithWorkQueue:(dispatch_queue_t)workQueue asyncQueue:(dispatch_queue_t)asyncQueue logger:(id<FBControlCoreLogger>)logger delegate:(id<FBiOSTargetSetDelegate>)delegate ecidFilter:(NSString *)ecidFilter error:(NSError **)error
{
AMDCalls calls = FBDeviceControlFrameworkLoader.amDeviceCalls;
FBAMDeviceManager *amDeviceManager = [[FBAMDeviceManager alloc] initWithCalls:calls workQueue:workQueue asyncQueue:asyncQueue ecidFilter:ecidFilter logger:logger];
FBAMRestorableDeviceManager *restorableDeviceManager = [[FBAMRestorableDeviceManager alloc] initWithCalls:calls workQueue:workQueue asyncQueue:asyncQueue ecidFilter:ecidFilter logger:logger];
FBDeviceSet *deviceSet = [[FBDeviceSet alloc] initWithAMDeviceManager:amDeviceManager restorableDeviceManager:restorableDeviceManager logger:logger delegate:delegate];