Coder Social home page Coder Social logo

alist-expo's Introduction

AListServer

这是一个可以运行在iOS上的AList服务端应用

本地启动

  1. 使用sunzongzheng/alist-ios打包iOS framework到本仓库下的ios/alist/Alistlib.xcframework目录

  2. 启动应用

     yarn && yarn ios

关于如何安装到真机 / ipa签名等iOS开发问题请使用谷歌搜索

注意事项

  1. 暂不支持在AList中添加本地存储
  2. App置于后台时,服务可能不可用,再次回到App后服务通常可以恢复
  3. App长时间置于后台后,服务可能被系统杀死,回到App后仍不可用时,重启服务即可

免自签版本

您也可以使用Apple Store版本,由于开发者账号每年都需付费,此版本也需要付费使用

由于Apple Store审核要求导致的特性:

  • 在线安装ipa能力已移除

alist-expo's People

Contributors

sunzongzheng avatar

Stargazers

 avatar  avatar toutoumu avatar AdviserM avatar Calvin Li avatar Mu Jiang avatar  avatar monlor avatar TingV avatar Eren_Yeager avatar  avatar Thomas Zhang avatar Aduer avatar pongfcnkl avatar  avatar  avatar  avatar AMG avatar  avatar Ronnie W. avatar Monkey·D·Luffy avatar Wolo avatar  avatar  avatar  avatar Ggboom avatar  avatar  avatar Siuleoi avatar  avatar  avatar  avatar  avatar 高憬憧 avatar Xavier Xu avatar  avatar

Watchers

 avatar

alist-expo's Issues

使用 alist-ios 构建后放到自己的项目报错

我使用命令
gomobile bind -target ios -tags netgo -bundleid com.toutoumu.alist -o /Users/apple/WorkSpace/alist/AListFlutter/ios/Runner/Alist/Alistlib.xcframework -ldflags "-s -w" github.com/alist-org/alist/v3/alistlib 构建好后放到我自己的项目中报错了, 无法运行, 但是在 App Store 下载的可以正常运行. 我对IOS开发不是太懂, 因此希望大侠能够帮忙解答一下是什么原因. 下面是错误日志和我的代码

func dataDir() -> String {
        let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
        NSLog(" \(documentsDirectory.path)")
        return documentsDirectory.path
    }

   func initAlist() {
        Alistlib.AlistlibSetConfigDebug(true)
        Alistlib.AlistlibSetConfigData(dataDir())
        Alistlib.AlistlibSetConfigLogStd(true)
        var error: NSError?
        Alistlib.AlistlibInit(self, self, &error)
    }
/var/mobile/Containers/Data/Application/1D5DCA30-D994-4765-B5F7-00A5AD87F3BB/Documents


2024/08/16 09:08:22 �[35m/Users/apple/WorkSpace/alist/alist-ios/internal/bootstrap/db.go:54
�[0m�[31m[error] �[0mfailed to initialize database, got error unable to open database file: no such file or directory
Failed to write to log, can't make directories for new logfile: mkdir /var/mobile/Containers/Data/Application/B4C225D9-2FD8-4D95-B25D-9D2FC9BEE35A: operation not permitted


2024/08/16 09:08:22 �[32m/Users/apple/WorkSpace/alist/alist-ios/internal/db/db.go:26
�[0m�[33m[0.001ms] �[34;1m[rows:0]�[0m SELECT count(*) FROM sqlite_master WHERE type='table' AND name="x_storages"

这里的两个路径都不一样, 感觉像是把数据库创建到领一个应用里去了
/var/mobile/Containers/Data/Application/1D5DCA30-D994-4765-B5F7-00A5AD87F3BB/Documents
/var/mobile/Containers/Data/Application/B4C225D9-2FD8-4D95-B25D-9D2FC9BEE35A

release版本

大佬,能否构建ipa包放到release上,感谢巨佬

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.