swift package init --type executable(or library) //初始化包,不带参数的话默认是Libraryswift package init //初始化包,不带参数的话默认是Library