epub_viewer
epub_viewer copied to clipboard
Failed to build ios app
Issue - failed to build ios app
Platform (iOS)
Describe in detail - I am using Xcode 12. I can not build my ios app. Below is the error that I got from Xcode:
Undefined symbols for architecture x86_64:
"_RLMRealmPathForFile", referenced from:
default argument 0 of RealmSwift.Realm.Configuration.init(fileURL: Foundation.URL?, inMemoryIdentifier: Swift.String?, syncConfiguration: RealmSwift.SyncConfiguration?, encryptionKey: Foundation.Data?, readOnly: Swift.Bool, schemaVersion: Swift.UInt64, migrationBlock: (RealmSwift.Migration, Swift.UInt64) -> ()?, deleteRealmIfMigrationNeeded: Swift.Bool, shouldCompactOnLaunch: (Swift.Int, Swift.Int) -> Swift.Bool?, objectTypes: [RealmSwift.Object.Type]?) -> RealmSwift.Realm.Configuration in FolioReaderConfig.o
"OBJC_CLASS$_RLMNotificationToken", referenced from:
objc-class-ref in FolioReaderAddHighlightNote.o
objc-class-ref in Highlight+Helper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This issue is caused by the Realm version. I am fixing this issue alongside #25
Hi, now I manage to run the ios app just fine when I update my flutter to the beta version and add some config to the xcode, one problem though, the app still crashes when I open a pdf file instead of an epub file. On the other hand, on android both epub and pdf, the app crashes when open it.
The plugin does not support pdf. Can you give more insight as to how the crash happened on android?
I have already created an issue with that(#29 ).
Hi! Please help update to at least we can view the file but not letting the app crush like that, thanks!
On Thu, 1 Oct 2020 at 3:53 PM Festus Olusegun [email protected] wrote:
The plugin does not support pdf. Can you give more insight as to how the crash happened on android?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JideGuru/epub_viewer/issues/28#issuecomment-701991374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK57FDS2HP3MFZPOHJ62ZJLSIQ7RDANCNFSM4R5JMIJA .
HI! any updates on this issue yet? As for the new updated version that I have tested on ios, this issue still appears when I run the build using Xcode or run vscode. My solution was to run flutter clean than go to Xcode clean build after that run "flutter build ios" and go to Xcode again and run build. (I don't know how or why it works but sometimes it works sometime it doesn't and sometimes I need to repeat this process in order to successfully build the app)
I'm almost done with the fixes. i should publish a new version soon
thanks man... I am really appreciated!
@soleysok is it working on your ios device ?