Questions tagged [mmwormhole]

Refers to https://github.com/mutualmobile/MMWormhole - Do NOT use this tag to refer to the Magic Wormhole file transfer program

10 questions
4
votes
1 answer

Get Unresolved Identifier for MMWormhole in Watch InterfaceController.swift

My Apple Watch project is in Swift. I have used CocoaPods to install MMWormhole, and I created the bridging header as described in these links: http://bencoding.com/2015/04/15/adding-a-swift-bridge-header-manually/ How to call Objective-C code…
murvinlai
  • 48,919
  • 52
  • 129
  • 177
4
votes
2 answers

How do I exactly use MMWormhole with Swift?

I have an iPhone application and added a WatchKitExtension. From the iPhone App I want to pass a String to the WatchApp which is supposed to change an image on the Watch. What I already did was to download the source files and import the…
LinusGeffarth
  • 27,197
  • 29
  • 120
  • 174
3
votes
1 answer

Refresh NSManagedObjectContext

I am writing a WatchKit extension for an iPhone application. I share Core Data using App Groups. This is working, the data is shared. When a new NSManagedObject is created using watch I send a notification to the iPhone app that a new object was…
sash
  • 8,423
  • 5
  • 63
  • 74
2
votes
1 answer

share data between iOS 10 Widget and Apple Watch

Let's say we have running widget on iPhone and app on Apple Watch at the same time. How to inform Apple Watch that we have made any changes to the model with widget? App Groups are not longer supported by Apple Watch so we can't use MMWormhole nor…
Adam Smaka
  • 5,977
  • 3
  • 50
  • 55
2
votes
1 answer

How do I share a sqlite database from my iOS project to my WatchKit Extension?

How do I share a sqlite database from my iOS project to my WatchKit Extension using MMWormhole in objc?
terrybus
  • 21
  • 1
  • 1
2
votes
0 answers

mmWormHole Library and appGroupContainerPath variable always returns nil

I'm testing the library and I have a problem with messagePassingDirectoryPath. When I generate a message it's work correctly, but when I'm listening I have this issue: I use listenForMessageWithIdentifier function to listen for messages and when…
NeoGeRo
  • 21
  • 2
1
vote
2 answers

MMWormwhole communication with the app in background

I'm working on extension for the Apple Watch and I need to communicate with the containing app. MMWormwhole seems like a nice approach for this type of communication. The problem is that my messages are not delivered to the containing app when it…
aumanets
  • 3,703
  • 8
  • 39
  • 59
0
votes
1 answer

How long does a wormhole file transfer persist

I am trying to use magic-wormhole to receive a file. My partner and I are in different time zones, however. If my partner types wormhole send filename, for how long will this file persist (i.e. how much later can I type wormhole receive keyword and…
0
votes
1 answer

How do you incorporate/access pod files (MMWormhole) in an extension?

I'm trying to incorporate MMWormhole into my app (https://github.com/mutualmobile/MMWormhole). I've added it to the pod file and installed it which has added to my workspace. My app itself is mostly in Objective-C and I can simply start to use…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
0
votes
0 answers

MMWormhole.framework crashes on iPhone 4/4s because of "wrong architecture". Works fine on 5/5s and 6

I am bringing in the Wormhole library via Cocoapods. Everything works as expected on iPhone 5 and 6, but on 4s simulator it crashes at launch with the error below. Looks like all the architecture settings are correct and in-sync between app and used…
oviroa
  • 1,079
  • 2
  • 12
  • 29